We constrain the coupling of thermally-produced axion-like particles (here axions) with photons and gluons, using data from cosmic microwave background (CMB) spectra baryon acoustic oscillations. The axion possesses an explicit soft breaking mass term it is produced thermally in early Universe either axion-photon or axion-gluon processes, accounting for recent progresses field. derive most stri...