Solids have a solid volume and shape.
Liquids have a solid volume but not a solid shape and can flow to fit their container.
Gases have a changing volume and shape, they can flow to fit their containers and spread out. They can also be compressed together, which can lead to an increase in pressure.