Type 1 diabetes occurs when some or all of the insulin-producing cells in the pancreas are destroyed. This leaves the patient with little or no insulin. Without insulin, sugar accumulates in the bloodstream rather than entering the cells. As a result, the body cannot use this glucose for energy.