Isotopes have same atomic numbers but different mass numbers or we can say same number of protons but different no of neutrons, on the other hand isobars have different number of protons but same number of nucleons (protons and neutrons combined) or we can say different atomic numbers but same mass numbers.
An isotope is an atom of an element with a differing number of neutrons. That is to say, elements typically have multiple isotopes, each with a different number of neutrons, but they all have the same number of protons if the element is the same.
For example, hydrogen has
An isobar is where different elements have the same number of nucleons (protons and neutrons collectively).