Dysfunction or destruction of pancreatic beta cells is a hallmark of diabetes mellitus. In Type 1 diabetes, an autoimmune response destroys beta cells, leading to an absolute deficiency of insulin. In Type 2 diabetes, beta cells initially compensate for insulin resistance by increasing insulin secretion, but over time they become dysfunctional and fail to maintain adequate insulin levels.