Read this and answer the question

Jantar Mantar located in Connaught Place was built by Maharaja Jai Singh II of Jaipur. It consists of 13 architectural astronomy instruments. The primary purpose of the observatory was to compile astronomical tables, and to predict the times and movements of the sun, moon and planets.

What is one of the primary purposes of the Jantar Mantar observatory?
compile astronomical tables