Density is an important property of matter because it can be used to determine the amount of matter in a given object or volume. For example, a cubic meter of water has a density of 1,000 kg/m³, so a 1-liter container of water will have a mass of 1 kilogram.
Density is also used to determine the buoyancy of an object in a fluid. An object will float if its density is less than the density of the fluid, and it will sink if its density is greater than the density of the fluid. For example, a boat will float on water because the average density of a boat is less than the density of water.
Density is also used to determine the compressibility of a substance. A substance with a high density is less compressible than a substance with a low density. For example, it is more difficult to compress water than it is to compress air.
Density is a fundamental property of matter that is used in many different fields of science and engineering. It is a valuable tool for understanding the behavior of matter and for designing and building objects that interact with matter.