In type 2 diabetes, the pancreas produces insulin, but there are varying degrees of insulin resistance, and insulin secretion is inadequate to meet the increased demand caused by insulin resistance (ie, there is relative insulin deficiency).