These are called isotopes
These elements contain different numbers of neutrons, which causes the mass changes.
Carbon-12, Carbon-13, Carbon-14
Isobars are elements that have the same mass number but different proton numbers, which is their main difference.