Unlike Venus and Mars, Earth's atmosphere is primarily composed of oxygen and nitrogen. Why is the composition of Earth's atmosphere different from the composition of the atmospheres of Venus and Mars?

A. Earth has life, while Venus and Mars do not.
B. Venus and Mars are slightly smaller than Earth.
C. Venus, Mars, and Earth all have similar chemical compositions.
D. Venus and Mars have different chemical compositions from Earth.