What is the impact of weight on fertility?

Nidhi
How does body weight affect fertility? Can losing or gaining weight help improve fertility and increase the chances of getting pregnant?