Passing salty water through a membrane that only allows water molecules to pass through, trapping ions and larger molecules to separate them from water
First, pass the water through a wire mesh. This will filter out any large objects like plastic bottles or leaves.
Second, pass the water through a bed of sand and gravel. This will filter out smaller things like bits of rock.
Lastly, sterilise the water to kill any microorganisms. There are three different ways to do this: 1) bubblingchlorinegas through it, 2) exposing it to ozone, 3) exposing it to ultravioletradiation.