Desalination means any process that removes the excess salt and other minerals from water in order to obtain fresh water suitable for animal consumption or irrigation. Most desalination is by distillation. Some is by reverse osmosis or other methods.
The main purpose is to make water for people to use. The salt is usually carried away as brine but in some places the solid salt is extracted.