Type 2 diabetes is when the body either resists the effects of insulin, a hormone that regulates the movement of sugar into your cells or doesn’t produce enough