One substance, three behaviours
Everything around you is made of particles in constant motion, and temperature is really a measure of how energetically they move. In a solid, the particles are held in fixed positions by strong attractions; they cannot travel, only vibrate on the spot, which is why solids keep their own shape and volume.
Give the particles more energy and the attractions loosen. In a liquid they stay close but slide past one another, so a liquid keeps its volume but takes the shape of its container. Give them more energy still and they break free entirely: a gas's particles fly in straight lines, bouncing off each other and the walls, spreading to fill any space they are given.
Changing state, step by step
Heating a solid melts it once its particles vibrate hard enough to escape their fixed positions. Keep heating the liquid and its fastest particles escape from the surface — evaporation — until, at boiling point, bubbles of gas form throughout the liquid. Cooling runs the film backwards: gas condenses to liquid, and liquid freezes to solid.
Notice what does not change: the particles themselves. Ice, water and steam are all H₂O. Melting and boiling are physical changes — rearrangements of movement, not new substances — which is why they can be reversed simply by cooling.
Water, the odd one out
Most substances shrink steadily as they freeze, but water expands. Its molecules lock into an open, spaced-out crystal pattern in ice, so ice is less dense than liquid water and floats — which is why lakes freeze from the top down and fish can survive the winter underneath.
There is also a fourth state worth meeting: heat a gas hard enough and its atoms lose electrons, becoming a plasma. Lightning, the Sun and the glowing gas inside a neon sign are all plasma — by far the most common state of ordinary matter in the universe, even if it is rare in your kitchen.

