Liquids will flow and fill up any shape of container. Solids like to hold their shape. In the same way that a large solid holds its shape, the atoms inside of a solid are not allowed to move around too much. Atoms and molecules in liquids and gases are bouncing and floating around, free to move where they want.
What are solids liquids and gases called?
A solid has a definite shape and volume. A liquid has a definite volume but it takes the shape of a container whereas a gas fills the entire volume of a container. You already know that diamond and graphite are solids made up of the element carbon. They are two phases of carbon, but both are solids.