Type 2 diabetes causes the pancreas to be unable to produce sufficient insulin, or in rare cases, type 2 diabetes causes the body to be unable to identify and use the insulin that the pancreas does produce. Insulin is a hormone, which controls the transfer of blood sugar (glucose) into cells.