Environment mapping shaders are executed when a ray hits nothing and essentially exits the scene. They are used to give the impression of a 'wider world' outside the modeled area.
Redshift currently natively supports two environment shaders, a physical sun-sky model and a generic environment image projection.