A high concentration of hydrogen sulfide (H2S) released from pig farming is one of the major environmental problems affecting surrounding communities. In modern pig farms, the bioscrubber is used to eliminate H2S, which is found to be driven mainly by the sulfur-oxidizing bacteria (SOB) community. Therefore, in this study, molecular biology techniques such as next-generation sequencing (NGS) and DNA microarray are proposed to study the linkage between enzyme activity and the abundance of the SOB community. The starting sludge (SFP1) and recirculating sludge (SFP2) samples were collected from the bioscrubber reactor in the pig farm. The abundance of microbial populations between the two sampling sites was considered together with the gene expression results of both soxABXYZ and fccAB. Based on the NGS analysis, the members of phylum Proteobacteria such as Halothiobacillus, Acidithiobacillus, Thiothrix, Novosphingobium, Sulfuricurvum, Sulfurovum, Sulfurimonas, Acinetobacter, Thiobacillus, Magnetospirillum, Arcobacter, and Paracoccus were predominantly found in SFP2. The presence of Cyanobacteria in SFP pig farms is associated with increased biogas yields. The microarray results showed that the expression of soxAXBYZ and fccAB genes involved in the oxidation of sulfide to sulfate was increased in Halothiobacillus, Paracoccus, Acidithiobacillus, Magnetospirillum, Sphingobium, Thiobacillus, Sulfuricurvum, Sulfuricurvum, Arcobacter, and Thiothrix. Both NGS and DNA microarray data supported the functional roles of SOB in odor elimination and the oxidation of H2S through the function of soxABXYZ and fccAB. The results also identified the key microbes for H2S odor treatment, which can be utilized to monitor the stability of biological treatment systems and the toxicity of sulfide minerals by oxidation.