Dinosaurs got extinct when a massive comet or asteroid hit Earth. Upon impact the smoke and dust covered the entire globe.
The comet itself didn’t hit the dinosaurs but rather it was the smoke and dust that blocked sunlight which in turn triggered a series of catastrophic events.
An impact at Chicxulub, where the target rocks contain high quantities of sulfur, produces enormous amounts of sulfate aerosols in the atmosphere that act as nucleation sites for acid rains much more intense and devastating than anything we have generated from industrial pollution. One model suggests rain with the strength of battery acid! The direct effect is enough to suffocate some air breathers, to destroy plant foliage, and to dissolve the shells of marine creatures living along shores and in the surface waters of the ocean. The balance of CO2 between air and ocean is upset, and a chain of climatic events makes ocean surface waters barren for perhaps 20 years. Among other effects of the impact, dust, smoke, and aerosols cut down the sun’s rays for weeks or months, so that land plants and algal plankton in the ocean cannot photosynthesize. The dust also causes freezing air temperatures within days after the impact, and maintains them below freezing for weeks or even months. This may not be an unusual situation at a pole, and may not be a problem for an organism living deep in the ocean, but it is a catastrophe for organisms on continental land masses. Later, once the dust and aerosols have settled out, the enormous amount of CO2 released into the atmosphere by the impact generates a greenhouse effect that elevates temperatures on Earth for a thousand years or more.
University of California at Berkeley, The K-T Extinction, 1999.
In short it was the smoke and dust that blocked the sun and caused the sudden drop in temperature. But it was just smoke (not dust) which caused the acid rain that killed plants and animals.
However this was portrayed in the Quran 1400 years before it was discovered. There are mountains in the heaven that have ice inside them; those mountains could fall on Earth making a very bright flash:
[Quran 24.43] Can’t you see that Allah makes the clouds move gently, then joins them together, then makes them into a pile? Then you see rain come out from within? And He sends down from heaven mountains with ice inside them; that strike whomever He wishes or miss whoever He wishes; Its flash almost blinds you.
God sent down from the heavens mountains with ice inside them!!! The clouds are enslaved between the Heavens and Earth but those ice filled mountains came from the Heavens above the clouds and they make a very bright flash. But this is the exact description of comets and meteors when they hit our atmosphere.
Rain hits everyone (no exceptions) however the Quran referred to: “mountains that strike whomever He wishes or miss whoever He wishes”. Of course, the meteor that killed the dinosaurs was the size of a mountain 10-15 km wide. If we get hit with a meteor the size of a mountain we too will die in a mass extinction.
In chapter “The Smoke” the Quran describes the smoke generated on impact:
[Quran 44:9-10] So watch out for the day when the sky brings prevailing smoke. Enveloping mankind; this is a painful torture.
“When the sky brings prevailing smoke” followed by “painful torture” today we know that dinosaurs died when the smoke blocked sunlight and caused drop in temperature and acid rain that killed plants and animals.