Sleeping with you may simply be one of the ways your cat shows you affection.
If your cat sleeps on you all the time, she is showing you that she likes being with you and enjoys cuddles.
She may also be trying to help keep you warm and safe, as sleeping in the wild is potentially dangerous.