Liquid is a state of matter with a definite volume but no fixed shape. When resting in a container, liquids typically adapt to the shape of the container. Liquids are nearly incompressible, maintaining their volume even under pressure. The density of a liquid is usually close to that of a solid, and much higher than that of a gas. Liquids are a form of condensed matter alongside solids, and a form of fluid alongside gases.