Sleep-Related Erections are erections that occur periodically during sleep. Erection occurs during REM sleep, and its function is not fully known. However, sleep-related erection can provide crucial information on distinguishing between organic and non-organic erectile dysfunction.