Ultraviolet and infrared are the regions bordering the visible part of the electromagnetic spectrum.
Infrared corresponds to greater wavelengths than visible light and lies on the red side of the spectrum. Infrared light is low in energy and contributes to heating.
Ultraviolet corresponds to shorter wavelengths than visible light. Its energy is higher than the one of blue light and can quickly become dangerous for living organisms.