Dear student
Nucleus is controlling center and functional unit of cells.
It governs function of all other organelles.
So genetic material is present in nucleus.
Beside nucleus chloroplast and mitochondria also have their own genetic material.
Regards