Animal behaviour

Why might a mating display become elaborate through sexual selection?