The theory that explains the behavior of subatomic particles, especially electrons, in terms of waves and probabilities.