Explanation
Gases are the state of matter that takes both the shape and volume of a container they are placed in. They expand to fill the container and conform to its shape. Liquids , take the shape of a container but maintain their own volume. Solids maintain both their shape and volume , regardless of the container they are placed in.