Answer the following question given this paragraph: 

All three containers contain a substance with the same mass, but the substances are in different states. In the left-hand container, the substance is a gas, which has spread to fill its container. It takes both the shape and volume of the container. In the middle container, the substance is a liquid, which has spread to take the shape of its container but not the volume. In the right-hand container, the substance is a solid, which takes neither the shape nor the volume of its container.


Q: What state of matter takes neither the shape nor the volume of its container?


A:
solid