An egg just sinks when dropped in a container filled with water. If common salt is added to the water then
the egg floats up
Initially the egg just sinks, it means that the density of the egg is slightly more than that of water. Adding salt to the water increases the density of the solution therefore density of water would become greater than the density of egg and hence it will float.