A tank for waste water partially or fully buried in the ground or immersed in water includes a wall made of a high thermal conductivity material, which in turn has a pair of walls forming a cavity creating a circuit of a convective fluid for heat exchange with both the waste water contained inside the tank and with the ground and/or groundwater external to the tank.