What does a Lighthouse do?

A lighthouse shines a bright light to help boats find their way at night!

▶ what THAT place do?!