In type 1 diabetes, the immune system attacks the cells in the pancreas that produce insulin (the islet cells) and destroys them. At this time, doctors don’t know how to stop the immune attack on the insulin-producing cells in the pancreas or how to replace the cells that have been destroyed.