How would the the transition of renewable energies help solve the climate crisis?

How would the the transition of renewable energies help solve the climate crisis?