A gas is a substance with no definite volume and no definite shape. Solids and liquids have volumes that do not change easily. A gas, on the other hand, has a volume that changes to match the volume of its container. The molecules in a gas are very far apart compared with the molecules in a solid or a liquid.