Can your diet affect your fertility?

Melissa • •23yrs🎈•Virgo♍️ •4🐱 •Engaged💍 to a Cajun⚜️~🔑 to my ❤️ --> 9/7/13🔐•PCTech🖥 •Metal🎸•Gamer🎮
I've heard stress, sleep and what you do during the day can affect your chances of getting pregnant, but what about what you eat? I could use a better diet but I was wondering how big of a part if any does it take in fertility?