the north pole

Why is the temperature at the north pole cold during summer even though they receive 24 hours of daylight for 3 months