A lighthouse is a tower, building, or other type of structure designed to emit light from a system of lamps and lenses or, in older times, from a fire, and used as an aid to navigation for maritime pilots at sea or on inland waterways.
Lighthouses mark dangerous coastlines, hazardous shoals, reefs, safe entries to harbors, and can also assist in aerial navigation. Once widely used, the number of operational lighthouses has declined due to the expense of maintenance and replacement by modern electronic navigational devices.
A beacon is an intentionally conspicuous device designed to attract attention to a specific location.
Beacons can also be combined with semaphoric or other indicators to provide important information, such as the status of an airport, by the colour and rotational pattern of its airport beacon, or of pending weather as indicated on a weather beacon mounted at the top of a tall building or similar site. When used in such fashion, beacons can be considered a form of optical telegraphy.