Sexual reproduction contributes to genetic diversity by allowing