The nucleus acts as the control center of the cell, housing its DNA and directing the synthesis of proteins and ribosomes.