system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5 - If electrons are constantly losing energy while being in an atom, why don't they fall to the nucleus?

So our physics teachers asked us this question and I found many different answers to it, here and on different sites. It doesn't fall into the nucleus because it is in a state where the kinetic energy equals the potential energy, but that wasn't an enough answer for him. He said the electron is still losing energy, but he is getting it back somehow, how? I tried finding an answer but nothing seems logical enough or clear enough :/
gpt
Big objects, like the sun, planet, and baseballs, behave how you're describing. They would lose energy spinning in circles. Electrons though are too small. They don't obey classical laws. They obey quantum laws. (Quantum means really small.)

Electrons aren't really spinning around the nucleus. They're doing something else that we can't really describe classically. We sometimes think of it in probabilities. Sometimes it's in one position and sometimes it's in another and the shape can look like a ring around the nucleus. 

As for losing energy, we have to talk about "quantum numbers". When we put an electron in a potential (like a nucleus) we restrict what energy it can have. In a very very simple case, (the 1D infinite square well) electrons could only have energies if 1,4,9,16, and so on. An electron of energy 9 "spinning" around a nucleus can't lose 9 energy and crash into the nucleus, it can only lose 5 or 8.