Diabetes mellitus is a chronic condition that affects how your body utilizes sugar. It occurs when the pancreas either doesn't manufacture enough insulin, or your body can't effectively use the insulin it generates. Insulin is a substance that regulates blood sugar levels. Without enough functioning insulin, high amounts of glucose accumulates in y