The atomic number tells you how many protons are in the nucleus of the element. Example: Hydrogen has an atomic number of 1, so therefore it has 1 proton. Also, atoms have a neutral charge; hence the atomic number tells us the number of electrons the element has.
Hope this helped! :)