Solid, liquid and gases are the three states of matter. All the three are of different properties and can be easily distinguished on the bases of the motion of their molecules, forces and the arrangement of the molecules. The molecules in the solid are closely packed and, therefore, have a strong intermolecular force, which gives the solid a definite shape. Liquids, on the other hand, have molecules, which are closely packed but do not follow a pattern like solids. The forces between these are less than those in the solid as the molecules are far off and, therefore, take shape of anything that we add them into.
Gases have the weakest intermolecular forces and their molecules have kinetic energy which makes them move far off thus spreading everywhere. Solid has the toughest structure, followed by liquids. Gas molecules are in constant random motion and, therefore, do not have a fixed position.