The development of B cells progresses through six stages defined by the rearrangement and expression of immunoglobulin genes in the bone marrow and secondary lymphoid tissues. In the bone marrow, B cells undergo successive gene rearrangements of the heavy and light chain loci, with productive rearrangements allowing the cells to progress while unproductive rearrangements may lead to additional rearrangements or cell death if none are productive. Expression of rearranged immunoglobulin genes terminates further rearrangement and allows the cells to mature and migrate to secondary lymphoid tissues to complete development.