Задание

A tall building near the coast or shore with a flashing light at the top to warn ships of rocks and other dangers. What is it?