Though related, and oftentimes confused with each other, global warming and the greenhouse effect are not the same thing. Global warming refers to a change in the Earth's climate that is causing it to heat up. The greenhouse effect, on the other hand, is a natural process that happens constantly, due to sunlight and the atmosphere.
Hoped this helped!! ☺