Cellular biology encompasses the study of the structure, function, and behavior of cells. One of the key components of cellular structure is the nucleus, which plays a significant role in storing genetic material. What is the primary function of the nucleus in a eukaryotic cell?