Water is the basis for both the beginning and continuation of humanity. The emergence of saltwater desalination as a workable solution is a result of the depletion of freshwater supplies and the rising global demand for clean drinking water. The southern region of Bangladesh is suffering from a severe lack of drinkable water, as the coastline areas have saline water that cannot be consumed. As a result, employing our technology to clean surface water rather than relying on limited subsurface water is a more efficient alternative. Reverse osmosis, the most used method of desalination, removes salts and minerals from saltwater by forcing it through a membrane under high pressure. Similar to how pure water is important for economic development, energy is a crucial component of social and industrial progress so, the energy required for desalination need to be produced using two environment friendly ways as mention in this paper.