Earth once froze with glaciers covering the entire planet