Allah Ta’ala has sent down Prophets for the guidance of the creation. Each Prophet has been granted miracles based on the requirements of their times. Whatever area of knowledge/field that the Ummah excelled in, the Prophets would express such a miracle in that very area that everybody would be astonished.
The whole humankind until the Qiyamah is the Ummah of the Holy Prophet (Sallallahu alaihi wa sallam). As science and technology were going to reach their peak in this Ummah, to answer all objections and to make clear the veracity of Islam, Allah Ta'ala granted the Holy Prophet (Sallallahu alaihi wa sallam) innumerable miracles.
Today science is at such a peak that human beings are trapping and utilizing the rays of the sun, are traveling in space and have even landed on the moon. In spite of all this, the astronomers, space/rocket scientists, etc. are dazed before the miracle of the heavenly journey (Meraj) of the Holy Prophet (Sallallahu alaihi wa sallam).
The progress of science is unraveling the truths of Islam. The objection of the people that how is it possible that such a long journey could be completed in a small part of a night is not correct, because “light” created by human beings is so fast that it travels 300,000 kilometers in 1 second. When the “light” created by the creation is so powerful, then who can imagine the swiftness and ascent of the One (Sallallahu alaihi wa sallam) who is absolute radiance?