Welll~ DNA is bound within the nucleus. However, mRNA (which is produced by using DNA as a template) is the molecule that leave the nucleus through nuclear pores and gets attached to ribosomes. The ribosomes present in cytoplasm synthesize proteins by reading the sequence off mRNA and hence translating it into protein.