Solid particles have the greatest forces of attraction amongst themselves. As they attract each other so much, there is very little empty space between them.

Liquid particles experience smaller forces of attraction. So, the empty space between them is more than that of solids.

Gaseous particles experience the least forces of attraction. Thus, they have very large empty spaces between themselves.