Yes, cancer and its treatments can significantly affect fertility in both men and women. Chemotherapy, radiation, and certain surgeries can damage reproductive organs and affect hormone levels. It's essential for patients to discuss fertility preservation options with their healthcare providers before starting treatment.