Electrons have a negative charge and are located outside the nucleus.
Protons have a positive charge and are located inside the nucleus.
Neutrons have a neutral charge and are located inside the nucleus.
The number of protons an element has determines what element it is.