Astrophysics is the branch of astronomy that uses the principles of physics and chemistry to understand how stars, planets, and galaxies form, evolve, and end their existence.