Complex sentence: An artificial horizon is useful when the horizon is invisible, as occurs in fog, on moonless nights, in a calm, when sighting through a window or on land surrounded by trees or buildings.
Split into simpler sentences: An artificial horizon is useful when the horizon is invisible. This occurs in fog, on moonless nights, in a calm, when sighting through a window or on land surrounded by trees or buildings.