Because the particles in a solid are closely packed and held together by forces of attraction therefore they have more density then gases because they have restricted movement and they also have definite volume and shape
:D have a nice day
:D have a nice day