Very well, actually.
Solids and liquids do not expand or compress very well at all. Whereas gases do.
This is why we can use pistons and hydraulics, since liquids and solids do not compress much at all under pressure, unlike a gas.
Essentially, they are extremely similar in this respect.
Chat with our AI personalities
When a solid expands, its particles move further apart from each other, causing an increase in volume. In contrast, when a liquid expands, its particles are already more loosely packed than those in a solid, so the expansion leads to a small increase in volume but not as significant as that of a solid.
In a solid state atoms do not move much. They just vibrate in a fixed position. In a liquid state atoms move around frequently and do not stay in fixed positions.
solid liquid
The motion of particles in a solid are much slower than those in the gas. Gaseous particles are very energetic and highly kinetic.
Freezing is the process of a liquid turning into a solid when cooled, while deposition is the direct transition of a gas to a solid state without passing through the liquid phase. Both involve a change in state from a fluid to a solid, but freezing occurs for liquids and deposition for gases.
Sublimation occur directly from a solid to a gas, jumping over the liquid phase.