What is the role of weight in fertility?

Holly
How does being underweight or overweight impact fertility? What can be done to maintain a healthy weight for fertility?