What does an Observatory do?

An observatory is a round building with a giant telescope inside that watches the stars all night!

▶ what THAT thing do?!