Animals will only display courtship behaviours when they are sexually mature and fertile. This helps to synchronise mating behaviour so that the animals are more likely to mate when the female is releasing eggs. Courtship behaviour also increases the likelihood of successful mating, as it enables individuals to recognise members of the same species and opposite sex.