The document summarizes the sulfur and iron cycles and the key roles of microorganisms in these cycles. Photosynthetic and chemolithoautotrophic microorganisms transform sulfur compounds. Sulfate-reducing bacteria use sulfate as an electron acceptor to form sulfide. Minor sulfur compounds like DMSP also play important roles. Abiotic processes like sulfide oxidation can also occur under certain conditions. In the iron cycle, microbes catalyze the oxidation of ferrous iron to ferric iron and vice versa through respiration. Magnetotactic bacteria biomineralize magnetic minerals like magnetite.