The term “matter” refers to anything that has mass and occupies space.
All matter is made up of elements, which have distinct chemical and physical properties and can’t be broken down into other things by normal chemical interactions.
The space between two molecules or atoms is known as intermolecular space.
Solid, liquid, and gas matter were classified using intermolecular gaps. The molecular spacing in solids is quite tiny, whereas it is more in liquids than in solids, and it is highest in gasses.