The function of the nucleus is to serve as the site of DNA replication, contain the genetic code for each cell, control cellular processes such as gene expression and determine specialisation, and it is also the site of mRNA transcription, mitosis and semi conservative replication.