Playing flute does not improve your lungs, per se, but playing flute will improve your breath control because the proper flute technique engages the diaphragm. The more you practice, the better your breath control will be.