From a text of Richard Feynman:
You know, of course, that atoms are made with positive protons in the nucleus and with electrons outside. You may ask: “If this electrical force is so terrific, why don’t the protons and electrons just get on top of each other? If they want to be in an intimate mixture, why isn’t it still more intimate?” The answer has to do with the quantum effects. If we try to confine our electrons in a region that is very close to the protons, then according to the uncertainty principle they must have some mean square momentum which is larger the more we try to confine them. It is this motion, required by the laws of quantum mechanics, that keeps the electrical attraction from bringing the charges any closer together.
Can someone explain the following part in a bit more clear way?:
"according to the uncertainty principle they must have some mean square momentum which is larger the more we try to confine them"