Why do the lungs inflate?

the air inflates them kind of like a balloon