Opportunities and Challenges of the Transition to Renewable Energy Sources