In type 1 diabetes, the pancreas produces little to no insulin because of autoimmune destruction of pancreatic beta-cells, possibly triggered by an environmental exposure in genetically susceptible people.