Can weight affect ovulation?

....
I've heard that weight can impact ovulation. How does this work, and what can I do to optimize my chances of conceiving?