Quantum mechanics is the branch of physics that deals with the behavior of particles at a microscopic level.