For example, $$^{40}_{20} C$$ and $$^{40}_{18} Ar$$ are isobars. So, even though the elements are different, and have different chemical properties, their atomic masses are very similar as they have the same mass number.