If a person starts to “act out” their dreams—such as moving their legs in bed while they’re running in a dream—it could indicate a neurological problem. This disorder, called “REM sleep behaviour disorder,” can be a sign of Parkinson’s disease and other brain disease—though can also have more benign triggers.

More on this here, on Scientific American