Since a nucleus contains protons and neutrons, most of the mass of an atom is concentrated in its nucleus. Protons and electrons have opposite electrical charges.
Each gene might have different forms, and these are called alleles. The diagram shows the relationship between the cell, its nucleus, chromosomes in the nucleus, and genes.