Diabetes affects how your body processes glucose, which is a type of sugar used for energy. Glucose comes from the foods you eat and is transported into your cells with the help of a hormone called insulin, which is produced by the pancreas. Diabetes occurs when there's a problem with insulin production or how your body uses insulin, leading to elevated blood sugar levels.
Obesity is a significant risk factor for type 2 diabetes. When a person is obese, their body often becomes less sensitive to insulin, a hormone that regulates blood sugar levels. This condition is called insulin resistance.