The secondary atmosphere of Earth first developed as a result of volcanic activity. Volcanoes emitted gases such as water vapor, carbon dioxide, sulfur dioxide, and nitrogen, which contributed to the formation of the early atmosphere. Therefore, the correct response is:
Volcanoes emitted gases onto the surface of Earth.