What is the function of the nucleus?
A. It supports and protects the contents of the cell.
B. It contains all of the cell's genetic material.
C. It supplies nutrients and water to the parts of the cell.
D. It controls what travels in and out of a cell.