There are some theories that think dreams are a way for your brain to "train" you in certain scenarios and movement patterns for fighting or anything really.

A lot of my dreams tend to be hyper-violent, with blood, gore, and killing at a very high level. Does it help prepare me for things? I have absolutely no idea.