The structure in a cell's nucleus that contains hereditary material