Sometimes, when I scratch my dog's belly she starts wiggling her leg really fast. Why do dogs do this?

Sometimes, when I scratch my dog's belly she starts wiggling her leg really fast. Why do dogs do this?
my dog does this as well, i think it might have something to do with the nerves.
Want to hide these adverts? Register an account for free!