Overweight or obese increases the chances of developing the type2 diabetes. The body makes enough insulin but the cells in the body have become resistant to the salutary action of insulin. Weight gain increases your risk for type 2 diabetes.
When the body immune system attacks the insulin-producing beta cells in the pancreas and destroys them. These things happen on that time when type 1 diabetes occurs.