The nucleus is a membrane-bound organelle that controls all cell activity. It contains the cell's genetic material in the form of DNA and is the site of DNA replication and transcription. The nucleus is enclosed by a nuclear envelope containing nuclear pores that regulate movement of molecules between the nucleus and cytoplasm. Chromatin in the nucleus packages DNA and participates in gene expression. The nucleolus forms within the nucleus and produces ribosomes.