Electroejaculation is a medical procedure used to collect semen from males who are unable to ejaculate naturally, often due to spinal cord injuries or other medical conditions. It involves the application of electrical stimulation to the prostate and seminal vesicles, prompting ejaculation for purposes such as fertility treatments or artificial insemination.