The atoms of element differ from each other based on the number of protons or electrons they have. The number of protons or electrons is called the atomic number of an element which serves as its original identity.
Now, an isotope of an element differs in their number of neutrons but the number of protons or electrons are similar.