Explain why solids have fixed shape but liquids and gases do not have fixed shape

Explain why solids have fixed shape but liquids and gases do not have fixed shape.

Solids have fixed shape due to strong intermolecular force of attraction between them. The liquids and gases have molecules with less intermolecular force of attraction and hence they can flow and take shape of the container.