The bubbles formed in boiling water are primarily composed of air and water vapor. As dissolved gas escapes, the bubbles become primarily water vapor.