An atom consists of a dense nucleus containing protons and neutrons surrounded by a cloud of electrons. The nucleus contains protons which have a positive charge and neutrons which have a neutral charge. Electrons orbit the nucleus and have a negative charge. The atomic number represents the number of protons in an atom's nucleus, while the mass number is the total number of protons and neutrons.