Can you help him in identifying the cellular component A and B?

A student was observing the section of a cell given below. Can you help him in identifying the cellular component A and B? Also, mention a function of part A.
image

In the given section,
Part A = Nucleus, Part B = Rough endoplasmic reticulum.
Nucleus controls all metabolic activities occurring in the cells.