The cells of higher organisms such as mammals, flies and fungi enclose their genetic material in a nucleus. A nuclear envelope, consisting of two stacked membranes, protects it. For the cell to survive, the nucleus must constantly exchange molecules with the rest of the cell.