Most dinosaurs died out in the K/T extinction event, at the end of the Cretaceous. The only ones that survived were the birds. The birds, therefore, are not just the descendents of reptiles, but the descendents of theropod dinosaurs. Birds are the last surviving dinosaurs.