The branch of physics that deals with the behavior of matter and energy on the atomic and subatomic scale.