section_path: Paleobiology/Reproductive biology
section_name: Reproductive biology
paragraph_text: Reproductive biology
  
  All dinosaurs laid amniotic eggs. Dinosaur eggs were usually laid in a nest. Most species create somewhat elaborate nests which can be cups, domes, plates, beds scrapes, mounds, or burrows. Some species of modern bird have no nests; the cliff-nesting common guillemot lays its eggs on bare rock, and male emperor penguins keep eggs between their body and feet. Primitive birds and many non-avialan dinosaurs often lay eggs in communal nests, with males primarily incubating the eggs. While modern birds have only one functional oviduct and lay one egg at a time, more primitive birds and dinosaurs had two oviducts, like crocodiles. Some non-avialan dinosaurs, such as Troodon, exhibited iterative laying, where the adult might lay a pair of eggs every one or two days, and then ensured simultaneous hatching by delaying brooding until all eggs were laid.
  
  When laying eggs, females grow a special type of bone between the hard outer bone and the marrow of their limbs. This medullary bone, which is rich in calcium, is used to make eggshells. A discovery of features in a Tyrannosaurus skeleton provided evidence of medullary bone in extinct dinosaurs and, for the first time, allowed paleontologists to establish the sex of a fossil dinosaur specimen. Further research has found medullary bone in the carnosaur Allosaurus and the ornithopod Tenontosaurus. Because the line of dinosaurs that includes Allosaurus and Tyrannosaurus diverged from the line that led to Tenontosaurus very early in the evolution of dinosaurs, this suggests that the production of medullary tissue is a general characteristic of all dinosaurs.
  
  Another widespread trait among modern birds (but see below in regards to fossil groups and extant megapodes) is parental care for young after hatching. Jack Horner's 1978 discovery of a Maiasaura ("good mother lizard") nesting ground in Montana demonstrated that parental care continued long after birth among ornithopods. A specimen of the oviraptorid Citipati osmolskae was discovered in a chicken-like brooding position in 1993, which may indicate that they had begun using an insulating layer of feathers to keep the eggs warm. An embryo of the basal sauropodomorph Massospondylus was found without teeth, indicating that some parental care was required to feed the young dinosaurs. Trackways have also confirmed parental behavior among ornithopods from the Isle of Skye in northwestern Scotland.
  
  However, there is ample evidence of precociality or superprecociality among many dinosaur species, particularly theropods. For instance, non- ornithuromorph birds have been abundantly demonstrated to have had slow growth rates, megapode -like egg burying behavior and the ability to fly soon after birth. Both Tyrannosaurus and Troodon had juveniles with clear superprecociality and likely occupying different ecological niches than the adults. Superprecociality has been inferred for sauropods.
  
  Genital structures are unlikely to fossilize as they lack scales that may allow preservation via pigmentation or residual calcium phosphate salts. In 2021, the best preserved specimen of a dinosaur's cloacal vent exterior was described for Psittacosaurus, demonstrating lateral swellings similar to crocodylian musk glands used in social displays by both sexes and pigmented regions which could also reflect a signalling function. However, this specimen on its own does not offer enough information to determine whether this dinosaur had sexual signalling functions; it only supports the possibility. Cloacal visual signalling can occur in either males or females in living birds, making it unlikely to be useful to determine sex for extinct dinosaurs.