Isotopes are atoms of the same element that have the same number of protons (and thus the same atomic number) but different numbers of neutrons. Since the mass number is the sum of protons and neutrons, a difference in the number of neutrons leads to a difference in the mass number.