Your brain prevents your muscles from moving during normal REM sleep, resulting in temporary paralysis of your body and preventing you from physically acting out your dreams. – WTF Fun Facts
Source: REM sleep behavior disorder – Symptoms and causes – Mayo Clinic