During this process, the DNA replicates and attaches to the plasma membrane. Then the cell divides and a bacterial cell wall forms. Mutation is very important in the evolution and adaptation in asexually reproducing organisms. It results in such phenomena as antibiotic resistance. Another phenomenon is noteworthy.
Many bacteria can produce a resistant structure called a bacterial endospore .
Endospore germination may occur after as many as 1,000 years of dormancy . Bacteria play a significant role in ecosystems . Some are similar to plants in that they use H2O and produce oxygen as a byproduct of photosynthesis. Others use H2S and produce sulphur as a byproduct. Chemoautotrophic bacteria oxidize gaseous nitrogen or inorganic compounds such as those containing iron, nitrogen or sulphur to derive energy which is used to fix CO2.