REM sleep is when your brain does maintenance and cleaning, particularly with respect to the lymphatic/immune system.
See: ‘Matthew Walker's "Why We Sleep" Is Riddled with Scientific and Factual Errors’
Sorry, but this is just unfair insinuation, based on nothing.