Cells switch genes on and off to make different proteins for different jobs. In multicellular organisms, many cell types are built from the same DNA, but they do not use the same genes in the same way. This difference in gene expression helps explain why cells can look and act so differently.
Liver cells are a clear example. They help detoxify blood, make bile to help digest fats, and produce proteins needed for metabolism. To do these jobs, liver cells must express a specific set of genes.