Renewable energy is energy generated from natural resources such as sunlight, wind, rain, tides, and geothermal heat. It is derived from natural processes that are…