I'm not sure what you mean by 'how does it work' but the
airframe is the structural parts of an air or spacecraft. The
airframe makes up the parts other than propulsion and electronics.
It's such parts as the body, wings and tail. There is no vehicle
without the airframe.