Either of the pair of organs occupying the cavity of the thorax that effect the aeration of the blood.