sometimes i twitch while im sleeping and im wondering whats wrong?

is it cuz im having a dream or .. ?