Hypersensitivity pneumonitis is an inflammatory syndrome affecting the alveoli of the lungs due to repeated inhalation of various environmental antigens. It involves immune-mediated lung inflammation and can lead to chronic lung disease if untreated.