The greenhouse effect occurs when greenhouse gases like carbon dioxide and methane trap outgoing infrared radiation from Earth's surface, warming the lower atmosphere. This trapped heat leads to an overall increase in global temperatures. The greenhouse effect doesn't directly increase oxygen production, significantly alter rainfall patterns, or decrease atmospheric pressure - its primary effect is thermal.