Type 1 diabetes is an autoimmune disease. An autoimmune disease results when the body's system for fighting infection (the immune system) turns against a part of the body. In diabetes, the immune system attacks the insulin-producing beta cells in the pancreas and destroys them.