The scientific consensus is that birds are a group of theropod dinosaurs that evolved during the Mesozoic Era .
Birds evolved from theropod dinosaurs during the Mesozoic era .