Which of the following allows a cell to become specialized?

A. location of the cell in the body

B. different patterns of gene expression

C. different combinations of genes in the nucleus

D. function of the cell in the body