Dinosaurs took part in mighty displays to attract a mate, a US scientist has proposed.
The males showed off their ornate frills and crests, while the females looked on, said Scott Sampson of the Utah Museum of Natural History.
There has been much debate over the purpose of the bizarre structures possessed by dinosaurs, such as horns, crests and frills.
Some think they were used for temperature control - to cool or heat the blood - or as weapons. But Dr Sampson had a more prosaic explanation - sex.
He argued the structures were the dinosaur's equivalent of the peacock's tail and were used to compete for a mate.
The reason, he said, was that frills and horns vary widely in different dinosaur species, so were unlikely to have a single biological function.
Dinosaur dating
"A lot of these animals probably would have faced off side-to-side to increase the apparent size of their bodies," Dr Sampson told BBC News Online.
"They might have raised their tails in the air and swung the tail around and things like that.
"Modern animals certainly do things like that to raise their stature and increase their apparent size.
"So I don't see any reason why dinosaurs wouldn't have done that," he added.
Evidence of male and female dinosaurs has been hard to demonstrate from the fossil record, however.
The most famous is a Tyrannosaurus Rex on display in the United States.
The skeleton was thought to be female and was given the name Sue.
But some palaeontologists are not convinced.
"The evidence is weak to nil," Dr Sampson told reporters at the British Association festival of science in Leicester.
Oldest sex
In a separate presentation, Professor David Siveter of the University of Leicester spoke of evidence of separate sexes in the fossil record.
He said sexual dimorphism (males and females) first appeared more than 500 million years ago.
The oldest sex act preserved in the fossil record is found in 100 million year old rock from Brazil, he claimed.
The species in question was an ostracod, he said - an ancient crustacean only one millimetre across.