 Actually, electrons are not quite like that. You can't think of them as planets, things with very well-defined locations. Instead, you have to imagine them as being composed out of a wave. So it's more like a smear or a ripple that is going around the nucleus.