During the development of B cells, the immunoglobulin gene undergoes sequences of rearrangements that lead to formation of the antibody repertoire. For example, in the lymphoid cell, a partial rearrangement of the heavy-chain gene occurs which is followed by complete rearrangement of heavy-chain gene. Here at this stage, Pre-B cell, mμ heavy chain and surrogate light chain are formed. The final rearrangement of the light chain gene generates immature B cell and mIgM. The process explained here occurs only in the absence of the antigen. The mature B cell formed as RNA processing changes leaves the bone marrow and is stimulated by the antigen then differentiated into IgM -secreted plasma cells. Also at first, the mature B cell expresses membrane-bound IgD and IgM. These two classes could switch to secretory IgD and IgM during the processing of mRNAs.
Finally, further class switching follows as the cell keep dividing and differentiating. For instance, IgM switches to IgG which switches to IgA that eventually switches to IgE