Step-by-step explanation:
Density is an intensive property of matter. 
It is the mass per unit volume of a substance and it is expressed mathematically below: 
 Density = 
 
 
Mass is the amount of matter present within a substance 
Volume is the space a substance occupies
So, density is directly proportional to the mass of a body and inversely related to the volume it occupies. 
The packing of a substance is very important for determining the density values .