Aerospace engineering is the primary branch of engineering concerned with the design, construction, and science of aircraft and spacecraft. It is divided into two major and overlapping branches: aeronautical engineering and astronautical engineering. The former deals with craft that stay within Earth's atmosphere, and the latter with craft that operate outside it.