Gases comprise loosely packed molecules as compared to that of liquids and solids. Therefore, when the gases are heated, there is a huge vibration in their molecules, thereby increasing the average distance between them. In case of solids and liquids, there is a strong bonding between their molecules; therefore on heating, these molecules vibrate but less comparatively to gases where the bonding between molecules is almost nil. Hence, in solids and liquids, expansion will take place but less than gases.