Why farmer use nitrogen in fertilisers do this when there is so much nitrogen in the air?
Because plants can't absorb N2 which is the gaseous form of nitrogen. Plants absorb nitrogen though compounds such as ammonia, nitrates and nitrites (NH3, NO3, and NO2). Many fertilizers use urea ((NH2)2CO).
Plants roots need to absorb it.