Atom mainly consists of three subatomic particles. They are protons, neutrons, and electrons.
Electrons are revolving around the nucleus. Nucleus is a center positive core in the atom. Protons and neutrons held in the nucleus.
Hence, the options A, B, and D are wrong.
So, the nucleus of an atom contains both protons and neutrons.
Hence, the correct option is.