The synthesis of RNA and protein primarily occurs during the **G1 phase** and **G2 phase** of the cell cycle, which are parts of the interphase. However, if we consider the options provided:
- A. S phase: This phase is mainly focused on DNA replication.
- B. M phase: This phase involves cell division, not synthesis.
- C. G phase: This option seems to be a typo, as it should refer to G1 or G2.
- D. None of the above: This is the correct choice based on the options given.
In summary, the correct answer is D. None of the above, since RNA and protein synthesis occurs during the G1 and G2 phases, which are not listed in the options.