Density is basically mass/volume. Although I'm not going to use this formula for my explanation. Density is the amount which measures how tightly or loosely a substance is packed. It gives us the measure of how much matter is present in a given volume.
This process is called osmosis whereby water exits the cell through its selectively permeable membrane and into the salt solution to dilute and balance the pressure caused by the concentrated salt solution.