Relay lenses are optical subsystems used when the user cannot be physically close to the object being observed (like an endoscope or borescope), or when images need to be inverted/rectified (like in a telescopic sight).