Cancer can significantly impact sperm health in various ways. Certain types of cancer, such as testicular cancer and prostate cancer, directly affect the reproductive organs, leading to reduced sperm production and quality. Additionally, cancers that require treatments like chemotherapy and radiation can further deteriorate sperm health due to their toxic effects on rapidly dividing cells, which include sperm cells.