Step-by-step explanation:
Density of a substance may be defined as the amount of mass or matter it contains in a unit space or volume of that substance. It is the quantity of the matter that a body possess or contains.
Mathematically,
density = mass / volume
Different substance shave different densities. The arrangement of molecules or atom particles in the substances makes a substance less denser or more denser than the other substance.
In liquid or gas, the molecules are loosely bound to each other and there are more empty space or void spaces in the substance. Thus this make liquid and gas less dense.
On the other hand, the molecules in solid are tightly bound and they are packed, with no or very less empty space. Therefore, solids have the largest density than the gases which have the smallest density.