In type 1 diabetes the beta cells, which are the cells that produce insulin in the pancreas, are wrongfully targeted and destroyed by the autoantibodies of the immune system. It is not clear why this happens. Researchers have theorized that it is a combination of genetic predisposition and certain environmental triggers that prompt the immune system to destroy the beta cells.