When ice melts, it becomes water.

Literal

Ice [subject-が] melting [conditional-と] water [to-に] becomes.

Another variation on the ice-melting theme, this time with が instead of は marking ice. When ice is the new information focus (subject), が is used; when it's the known topic, は is used.