Scientists have learned that two types of immune cells, B cells and T cells, are involved in causing type 1 diabetes. T cells are responsible for attacking and destroying the beta cells that make insulin. Although they don't attack insulin producing cells, B cells may be what trigger the T cells to attack.