Mass distorts spacetime. As more matter falls into a star its mass increases and as its mass increases its density increases. The more dense a star becomes the more distortion it makes.
The longer a star lives the denser it becomes and the denser it becomes the more distortion it makes. However this distortion is pointing towards the singularity. So the longer a star lives the more it distorts spacetime towards singularity.
Singularity is a location in the future of stars. An observer far away from a black hole sees the events near a back hole in slow motion. If he shines a beam of light into this black hole he will have to wait forever but still this beam of light will never reach the singularity.
The singularity is a location in the future of stars where gravity goes so mad that space and time become indistinguishable. From general relativity we know that this is a location where the structure of spacetime becomes singular (hence the name singularity). However singular (Ahad in Arabic أَحَدٌ ) is one of God's 99 names. In the Quran God swears by the locations of stars which turned out to carry His own name:
٧٥ فَلَا أُقْسِمُ بِمَوَاقِعِ النُّجُومِ
٧٦ وَإِنَّهُ لَقَسَمٌ لَوْ تَعْلَمُونَ عَظِيمٌ
٧٧ إِنَّهُ لَقُرْآنٌ كَرِيمٌ
Here God swears not by the stars themselves but rather by their locations (mawakeh in Arabic). Today we know that stars distort spacetime in the direction of the singularity, which turned out to carry God's own name: "Ahad أَحَدٌ ".
How could an illiterate man who lived 1400 years ago have known about the singularity?
(Christians insist on Trinity).
The Quran (Koran, the book of Islam) contains scientific knowledge that could not have been known 1400 years ago. It ranges from basic arithmetics to the most advanced topics in astrophysics. You are invited to go through those miracles and judge for yourself.