Take a boiled egg and put it in water. The egg will sink nicely.
Now add salt to the water and keep adding it until the egg floats. It will happen, just keep stirring.
What is it about salt that helped the egg float? Salt changes the density of the water. The boiled egg is denser that water so it sinks. When the salt is added, the water becomes more dense and the egg floats.