Sleep apnea is a sleep disorder in which breathing repeatedly stops and restarts during sleep.…