Explanation:
density= mass/volume
Density is directly/proportional to mads. (i.e if mads increases then density increases and vice-versa) Density is inversely proportional to volume. (i.e if volume increases then the density decreases and vise-vera)
so, when we add salt to water.