Energy is an essential component of meeting social needs and economic growth. The international energy agency (IEA) estimates that a 53% increase in global energy consumption is expected by 2030. Pollution of environment, climate change, and the growing of demand energy worldwide require serious attention. Moreover, fossil fuels will significantly contribute to greenhouse gas emissions from combustion and exacerbate climate change. Renewable energies (REs) such as solar, wind, hydropower, geothermal, and biofuels are the right solution to running out of fossil fuels, protecting the environment, and stopping climate degradation. Many countries have jumped into the field of energy production from photovoltaic panels to reduce dependence on fossil fuels and recorded success stories. This paper reviews the great efforts developed countries and the rest of the world made in investing in solar energy. Especially photovoltaic energy, and compares it with the reality of the situation concerning the neighboring countries of Iraq in general and in Iraq in particular, and shows the determinants of developing this industry and the difficulties it faces, especially in the field of providing electricity to cities and farms. Moreover, providing appropriate solutions based on the success stories achieved by other countries.