Bacteria play a crucial role in the nitrogen cycle by converting atmospheric nitrogen into a form that plants can use. This process, known as nitrogen fixation, helps make nitrogen available for plant growth. Additionally, other types of bacteria help break down organic matter and convert nitrogen compounds back into atmospheric nitrogen, completing the nitrogen cycle.