Step 1: Understand the greenhouse effect.
The greenhouse effect is primarily due to the presence of gases such as \( \text{CO}_2 \), \( \text{CH}_4 \), and water vapor in the atmosphere, which absorb infrared radiation and trap heat.
Step 2: Conclusion.
The greenhouse effect is caused by gases that absorb infrared radiation.
Final Answer:
\[
\boxed{\text{Presence of gases, which in general are strong infrared absorbers, in the atmosphere.}}
\]