Solar Still is an ancient desalination device. It absorbed the sunlight and turned the solar energy into heat, which heated the seawater to the steam. The steam was then condensed into water which was desalinated as drinking water.
This is a picture of typical solar still.