Plants need certain bacteria to produce usable nitrogen compounds because:
Plants need bacteria to produce plant protein
There is no nitrogen in the soil
the bacteria produce the basic sugars needed as plant food
Plants cannot separate the nitrogen gas molecule into a usable element