Toxic substances can affect fertility in various ways. For instance, they may damage the ovaries, reducing the number and quality of eggs. They can also disrupt the menstrual cycle, making it difficult to predict ovulation. In severe cases, toxicity can lead to conditions like premature ovarian failure or endometriosis, both of which can significantly impair fertility.