Water scarcity is not a new issue, neither is water pollution. While 70% of the earth's surface is covered with water, only 3% of it is available as fresh water. Moreover the pollution of water resources has dramatically increased the problem of water scarcity over the last century. Bioremediation presents a cheap and effective solution of this problem. In particular, halophiles have been found to be effective in hypersaline wastewater treatment. Therefore, in this paper, we propose a nonlinear mathematical model to study the removal of a pollutant using halophiles in the hypersaline environment. The analysis of the model is being carried out using stability theory of differential equations. The results indicate that halophiles not only help in removing the organic pollutant, but also help in conversion of saline water into fresh water. The numerical simulations along with sensitivity analysis are performed to support the analytical results.