A liquid is a material that moves freely, but stays together.
Heat a solid and it will turn into a liquid. Cool a liquid and it will turn into a solid. So if solids and liquids are the same material, why are they different?
The answer is in the way the particles are held together. In a solid the particles are locked together. In a liquid they can slide over one another.