The identity of an atom is determined by the number of protons in its nucleus. This is because each element has a unique number of protons, which is commonly referred to as the atomic number. For example, hydrogen has one proton, while carbon has six protons. The number of electrons and neutrons in an atom can vary, but as long as the number of protons remains the same, the atom will retain its identity as a specific element.