Astrophysics is the branch of astronomy that deals with the physics of the universe, including the physical properties (luminosity, density, temperature, and chemical composition) of celestial objects such as stars, galaxies, and the interstellar medium, as well as their interactions. The study of cosmology is theoretical astrophysics at the largest scales where Albert Einstein's general theory of relativity plays a major role.
Because astrophysics is a very broad subject, astrophysicists typically apply many disciplines of physics, including mechanics, electromagnetism, statistical mechanics, thermodynamics, quantum mechanics, relativity, nuclear and particle physics, and atomic and molecular physics. In practice, modern astronomical research involves a substantial amount of physics. The name of a university's department ("astrophysics" or "astronomy") often has to do more with the department's history than with the contents of the programs. Astrophysics can be studied at the bachelors, masters, and Ph.D. levels in aerospace engineering, physics, or astronomy departments at many universities.