Physics is the study of the motion and behavior of matter through space and time, and the related entities of energy and force. It studies objects ranging from the very small using quantum mechanics to the entire universe using general relativity. Its main goal is to understand how the universe behaves.