Answer:
She bought some sweets. She ate them before she reached home.
Step-by-step explanation:

A pronoun is a word that is used instead of a noun. Pronouns refer to either a noun that has already been mentioned or to a noun that does not need to be named specifically.
For this question:
The rewritten sentences using pronouns in place of the underlined words:
She bought some sweets. She ate them before she reached home.
The pronouns "she" and "them" refer to the noun "Shanti" in the first sentence. In the second sentence, the pronoun "them" refers to the sweets that Shanti bought in the first sentence.