When materials are heated, their molecules start to vibrate faster and push further apart, causing the materials to expand. Thermal expansion occurs in all states of matter, but is greatest in gases and least in solids. The expansion allows for useful applications like thermometers but can also cause damage, so bridges and roads have gaps incorporated to accommodate expansion without buckling.