Which of the following correctly compares the desert and the swamp environments correctly?

A desert is hotter than a swamp because it receives more sunshine.
A desert is wetter than a swamp because of its proximity to water bodies.
A swamp is hotter than a desert because it is closer to the equator.
A swamp is less humid than a desert because of its higher elevation.

Please help :D