What was the Pantheon Used for?

Since the 7th century it has been used as a Roman Catholic church. Before that it was a temple built for all of the Gods in the Ancient Greek World.