How is aerospace engineering different from mechanical engineering?

Aerospace engineering focuses on flight and space vehicles, while mechanical engineering is broader in scope.