Answer: "Helado" is a masculine singular word which is indicated by the word "el" in front of it. The direct object pronoun that is used for masculine singular words is "lo".
Step-by-step explanation:
Yo compro el helado.
I bought the ice cream.
Yo lo compro.
I bought it.