Original: The males then attract females to the nest who lay their eggs inside where the male can fertilise them.
Simplified: The males then attract females to the nest who lay their eggs inside, where the male fertilise them.