When the Noble Quran mentioned the month of Ramadan and the moon to start fasting, people inquired about the moon of Ramadan and other moons. Accordingly, the Quran mentions this question after mention of the month of Ramadan and states:
—Surah al-Baqarah, 2:190
They ask you concerning the moons other than that of Ramadan; meaning, what needs to be done during those months?
The response to this question is given immediately after the question as follows:
—Surah al-Baqarah, 2:190
Say in reply to this question that they are a means for measuring time for the general good of mankind and in some moons the rites of the Pilgrimage are performed.