if you look at the particles inside the nucleus you have a proton, which is a positively charged particle, and it's about two thousand times more massive than an electron, and you have also have another type of particle in there called a neutron, and a neutron is to all practical intents and purposes it's just like a proton except that it has no charge, and so the whole mass of the atom is actually concentrated inside the nucleus.