The atoms of a solid are strongly attracted to each other. Solids keep their shape because of these strong attractions. The atoms vibrate but do not move past each other.