Ok basically there are four fundimental forces in nature:
-Gravity
-Electromagnetic (combination of electric and magnetic forces but have been unified in one theory)
-Weak
-Strong
Gravity is the weakest by far but is effective over pretty much infinate (for all intents and purposes) distances so its effects are felt over long distances (like galaxys and star systesm) and with huge differences between masses (like humans and Earth), however the other 3 forces are much much stronger which makes gravity irrelivent on the atomic level. Its just too weak to make a difference.
The strong force is what keeps the nucleus together, it bonds the neutrons and protons together, its also what keeps the quarks together inside the protons and neutrons, kind of like magnets attract each other. If 2 protons or neutrons or both come too close however the force becomes extreamly replusive preventing them from actually merging together. The strong force also looses strength very quickly and wont be felt after a few diameters of a proton or a neutron so is not felt outside the nucleus.
For large atoms lots of neutrons are needed to space the protons apart as the protons positive charge would cause the nucleus break apart.
The electrons are kept in orbit because of something to do with the weak force I believe but I dont actually know anything about that so dont take my word for it, but have you ever wondered why the electrons dont jsut fall into the nucleus?
Hope that helped a bit I probably sounded really partronising (I usually do on forums when explaining stuff) so sorry if I did it wasnt intentional.