A container for purification of water by a combination of filtering, heating, and UV-radiation of the water is disclosed. The container includes a first section, which at least partly includes a sunlight permeable layer, and a second section, which at least partly is opposite the first section and at least partly includes a sunlight absorbing and infrared radiation emitting (IR-emitting) layer. The first and the second section together enclose a volume, in which the water can be received to be heated by and exposed to sunlight. According to the present invention, the first section is arranged such that the permeable layer is essentially flat, and the second section is arranged such that the volume includes at least a first and a second portion, wherein the first and the second portion, respectively, have a first and a second distance, respectively, between the permeable layer and the sunlight absorbing and IR-emitting layer, where the first and second distances are mutually different. A temperature difference between the water in the first and second portion is created after a period of sun exposure.