The present invention provides a series of pyridine derivatives and their preparation method and application thereof. The series of pyridine derivatives can be applied to treating mycobacterium-related diseases, especially to treatments of fatal mycobacterium-related diseases. The fatal diseases may be related to mycobacterium tuberculosis, mycobacterium bovis, mycobacterium avium, and mycobacterium marinum.本發明公開了一系列新穎的吡啶衍生物的製備方法和應用。此類衍生物可用於治療由分枝桿菌引起的相關疾病,尤其是針對由致病性分枝桿菌引起的疾病,如結核分枝桿菌,牛分枝桿菌,鳥分枝桿菌,及海分枝桿菌。