Nitrogen-fixing bacteria are microorganisms that convert atmospheric nitrogen (N₂) into a form usable by plants, such as ammonia (NH₃). This process is crucial for the nitrogen cycle, as it helps to replenish soil nitrogen, making it available for plant uptake and ultimately supporting the growth of various ecosystems.