"Do you not see how He created seven heavens in layers, and placed the moon as a light in them and made the sun a blazing lamp?" (Qur'an, 71:15-16)
In the above verse, the word "light" is used for the Moon ("nooran" in Arabic) and the word "lamp" for the Sun ("sirajan" in Arabic.) The word used for the Moon refers to a light-reflecting, bright, motionless body. The word used for the Sun refers to a celestial body which is always burning, a constant source of heat and light.
These facts were revealed in the Qur'an in an age when mankind simply did not have the means to make scientific discoveries of their own accord. It was an age when peoples' knowledge of celestial bodies was severely restricted, to say the least. This further emphasises the miraculous nature of the book of Islam.
Modified from: www.miraclesofthequran.com