The nucleolus is a dense region within the nucleus that is responsible for synthesizing ribosomal RNA (rRNA) and assembling ribosomes.