Most kinds of coral spawn once a year. In an enormous multi-day event synchronised to specific phases of the moon, they release vast slicks of eggs and sperm into the ocean to be mixed together by the drifting currents.
Imagine hundreds of thousands of Olympic swimming pools filled with tiny pinkish spheres, all dumped into the sea at once.