Liquid is the state of matter that has the tendency to maintain their shapes when subjected to the outside force.
Solid is the state of matter that has the tendency to maintain their shapes when subjected to the outside force. They have the strongest intermolecular forces of attraction and have fixed positions. Hence, they are rigid and have a tendency to maintain their shapes when force is applied to them.