摘要:Anaerobic co-digestion (AcoD) has been a widely accepted method to treat food waste (FW) and sewage sludge (SS). However, there is a knowledge gap regarding the key speciation transformation of nitrogen and sulfur in AcoD. Here, we explored the changes of nitrogen (N) and sulfur (S) compounds in liquid digestion and biogas, as well as the composition of microbial community structure and related metabolic functions. The results showed that H2S in the biogas was the main form of S in the early stage, and then, it was converted into SO42− and SO32−, while NH3 and NH4+ were the main forms of N during the AcoD. In addition, bacterial diversity was associated with N and S compounds; Syntrophomonas and Aminobacterium were positively correlated to H2S, NH3, NH4+ and SO32−, and Saccharibacteria_genera_incertae_sedis, Candidatus_Cloacamonas and Thermomonas were positively correlated to SO42− and NO2−. Additionally, the FAPROTAX prediction showed that the functional composition related to N and S metabolism was different from SS and inoculum after the AcoD. This study provides detailed information of conversion of N and S of the AcoD, which could lay a foundation for the subsequent regulation of the mechanism of nitrogen and sulfur compounds in the methanogenic process.