The advantages of desalination is that you are not going to run out of water if you are using a water source like the ocean.
They have desalination equipment. Desalination can be done in several ways -- distillation, reverse osmosis, nanofiltration and others.
I'm not sure if it still is but not long ago ships used multiple stage flash distilling units. Seawater is heated to about 170 degrees F and sprayed into a chamber that's at a vacuum. Some of the water flashes into vapor and is collected as distilled water, the remaining, now saltier, water is pumped to the next stage and the process repeated.
engineeringbiology
earth science
environmental science
chemistry
It is due to the amount of energy needed to run a desalination plant, as well as the fines that have to be paid due to the amount of air pollution a desalination plant gives out.