Of its container? Liquids and gasses.
Matter that takes both the shape and volume of its container is a gas. A solid is characterized by having a definite shape and definite volume.
Liquid
a fluid
The matter that takes the shape but not the volume of its container is a gas. Gases have particles that are far apart and move freely, allowing them to fill the shape of their container but not have a fixed volume.
Liquid has no definite shape, it takes the shape of it's container.
...container.
gases and liquids
gases and liquids
a liquid
A fluid is any matter that has no fixed shape, can flow and takes the shape of its container.
Both a gas and a liquid will take the shape of its container.
Liquid