The lung as a black box