Quantum mechanics is a fundamental theory in physics that describes the behavior of matter and energy at the atomic and subatomic levels. It is a branch of physics that provides a mathematical description of the wave-particle duality of matter and energy.