Some dinosaurs built nests. An example was the Maiasaura. It lived in herds and every year the females gathered at the nesting site where they had laid eggs the previous time. Nests were lined with twigs and leaves. A large nesting area was discovered in Montana in the United States.