Range lights were typically used in pairs. Each light was placed at a different height, and a pilot would steer the ship by keeping them the same distance apart in his sights. In this way, the pilot was able to determine that he was maintaining a course.
Mobile Point Range Light
Courtesy of the U.S. Coast Guard.