In the history of the earth, were dinosaurs the biggest animals that ever lived?

In the history of the earth, were dinosaurs the biggest animals that ever lived?