Density, mass of a unit volume of a material substance. The formula for density is d = M/V, where d is density, M is mass, and V is volume. Density is commonly expressed in units of grams per cubic centimetre.
Density of iron is higher than the density of oxygen because iron is solid and the particles in it are very compact but oxygen is not dense as it is gas and particles in it are loosely packed.