Density is defined as mass per unit volume. Elements with denser atomic structures and closely packed atoms tend to have higher densities.