Why do Eggs Float in Saltwater?

Eggs float in saltwater and not fresh water due to density. The density of saltwater is a lot higher than fresh water, which allows the water to support the egg.