Quite famously dinosaurs were the dominant clade on Earth for over 150 million years, which for animal species is a very, very long time (for example hominids have "only" existed for about 6 million years, apes even less than that, humans even less). Also quite famously not only did all non-avian dinosaurs go extinct, but they all did so in a quite short period of time in a single mass extinction event. (And yes, they did indeed go extinct surprisingly quickly all at once. In mere years, perhaps even less. It was absolutely catastrophic and devastating.)
A curious mind could ask: How come all of the thousands and thousands non-avian dinosaur species that existed 65 million years ago went extinct, while many reptile species survived (alongside many mammal species, etc)? This completely regardless of dinosaur type, size, eating habits, etc.
Many people often throw the guess that it was because of their sheer size, but they forget that there were literally hundreds if not thousands of dinosaur species that were very small, the size of a dog, some even the size of a chicken. Why did all of them go extinct too, while much bigger reptiles (such as crocodiles) survived? Likewise they went extinct regardless of whether they were carnivorous, herbivorous or omnivorous. It was definitely not about their size nor their diet.
Many conspiracy theorists, some young-earth creationists, and many other wackos, use this apparent paradox to claim that dinosaurs didn't actually exist, or similar silly theories (rather than actually trying to find out the reason.)
But it is indeed curious: Why did all of them (except the avian ones) go extinct? Every single species of dinosaur, without fail. This, while at the same time, many species of reptiles survived. How come the extinction event was this thorough but selective?
As you might surmise, the answer lies in how dinosaurs were different from other reptiles (and eg. mammals). While they are cladistically classified as "reptiles" that doesn't mean that they were identical to other reptiles.
While the full set of reasons why they went extinct is quite large and varied, ie. it was a combination of many things, their physical characteristics, their physiology, was a very crucial one. The characteristics that made them different from other reptiles (especially those that survived).
You see, most reptiles are cold-blooded, while dinosaurs (all of them) were mesothermic. They also quite crucially had a much higher metabolism rate than most other reptiles. (And this is, in fact, why so many dinosaur species were so incredibly fast-running apex predators, especially many of the theropod species.)
This meant, among other things, that they needed significantly more food than their non-dinosaur reptile cousins (most of which could go literally weeks without eating anything). And this is one of the crucial key characteristics that made them different from most other reptiles.
In a way, dinosaurs were extremely adapted and specialized for the Mesozoic environment: They were big, they were fast, they were strong, they were apex predators, they were capable of defending themselves (even if herbivorous). They were the pinnacles of the Mesozoic era. The top tier.
The problem with this is that this strength was also their weakness: The Cretaceous–Paleogene extinction event suddenly, completely and radically changed the environment in a way that made it completely unsuitable for the highly-specialized dinosaurs. Suddenly their fast metabolism became a liability rather than an asset. Suddenly their need for a constant supply of food became a deadly defect rather than a strength.
Of course this isn't the only reason why they suddenly became incapable of surviving in the changed environment (another one is that regardless of their fast metabolism, their reproduction cycle was really slow, which was also a liability after the extinction event), but it was one of the most crucial ones.
This explains why they all died, while many other reptiles survived: Those other reptiles had slower metabolisms, were cold-blooded, and did not require such a constant supply of food to survive. They also usually reproduced much faster.
From the dinosaurs, only birds survived, but that's because they could compensate their now-weaknesses with their unique ability of flight (and small size, feathers, and a relatively fast reproductive cycle).
The question of why all non-avian dinosaurs went extinct all of a sudden is actually a very interesting one. Too bad that many conspiracy theorists don't care.