The nuclear envelope is the membrane around the nucleus in eukaryotic cells. It separates the DNA of the cell from the cytosol. For exchange of material, for example, proteins and mRNA, it is punctured with numerous nuclear pores.