To warn ships for underwater rocks