In addition to his mathematical work, Brahmagupta was a skilled astronomer. He made several important astronomical discoveries, including methods for calculating the positions of heavenly bodies. His observations and calculations were crucial for understanding celestial mechanics and were highly regarded in both Indian and Islamic astronomy.