Type 1 diabetes is an autoimmune disease where the pancreas stops producing insulin—a hormone that allows the body to get energy from food. Its onset has nothing to do with diet or lifestyle. With type 2 diabetes your body doesn’t use insulin properly—which is known as insulin resistance.