A lighthouse serves as a navigational aid for maritime pilots at sea or on inland waterways