How gravity shapes Planet Earth