What did dinosaurs eat? Teeth provide important clues to understanding the ecology of dinosaurs, which became extinct approximately 66 million years ago. Their shape, structure and patterns of wear can help scientists reconstruct how these animals obtained and processed their food.