From current astronomical research, we know that meteorites can carry ice and other compounds, including carbon-based compounds. Researchers believe, therefore, that early Earth's atmosphere consisted of water vapor, carbon dioxide, carbon monoxide, hydrogen, nitrogen, ammonia, and methane. Note that no oxygen was present in early Earth's atmosphere!
Hope you understood