Mange is caused by several species on skin mites. Your dog has mites living on its skin naturally and they usually cause no harm to your dog. However when mites grow out of control they can cause mange.
Different species of mites cause different types of mange. Canine scabies (Sarcoptic mange) is caused by Sarcoptes scabei.