Lighthouse serve as a navigational aid and warning system for maritime pilots at sea or on inland waterways. Its primary function is to emit light from a system of lamps and lenses, providing a visible guide to ships, especially at night or during poor weather conditions. Lighthouses help mariners determine their position relative to the shore, avoid dangerous areas, and safely navigate through difficult water…