A device for humidifying respiratory gases. The device includes: a humidification component that holds a water volume and a heating element that converts received electrical energy to electromagnetic radiation, wherein the electromagnetic radiation is transferred to the water volume, thereby heating the water volume to achieve a heated water volume.