Male peacocks display their feathers and perform intricate dances to attract female peahens. The colorful display, along with vocal calls, is an essential part of their courtship rituals. Once a peahen is impressed, they mate and the female lays eggs.