Ventilation is necessary to provide a continuous supply of oxygen to occupants and remove contaminated air from the space. This process helps maintain indoor air quality, reduces the risk of airborne diseases, and improves overall comfort and well-being.