Density is the ratio of mass and volume.
d=

To fill the problem imagine that you have 1 liter of water and 1 liter of feathers.
For sure 1 liter of water has greater mass. It because water has greater density. In another words, there is more molecule in the same volume.