Answer:
The sun is responsible for global warming by the radiation it emits. Without it life would not exist.
If you are referring to the present worry of excess global warming then the sun is also primarily, but not exclusively, responsible for that too.