The heat was used just to change the water's state from solid to liquid.
(The heat; was used just; to change the water's state from solid to liquid) (The heat; to change; the water's state; from solid to liquid)
The heat The heat
was used just to change
to change the water's state from solid to liquid
the water's state from solid to liquid