Matter takes the shape of its container. For example, If you have a liquid and you put it in a cup it will take the shape of the cup whatever the cup has the water or liquid will take the shape because liquids take the shape of it’s container for example, this liquid is taking the shape of it's container. If the cup is shaped as a heart the liquid will take the shape as a heart.
The atoms in this object are touching each other but not that much as in the solids because the water is soft or smooth (like this bunny or rabbit)
Liquids atoms are also touching each other but not that much as solids. Liquids take the shape of it’s container that means they don’t have their own shape.
There are 3 states of matter: liquid,solid and gas. All solids liquids and gases have volume and mass. these are just examples of atoms in a gas because they are not touching each other. Gas is another state. Air is gas. The atoms of the gas not touching each other so you can pass through it. Gas also takes the shape of it’s container for example,a balloon you fill it with air and it took the shape of it’s container.