Is lightning necessary for survival of mankind?

Not directly,

but lightning helps fix nitrogen, which is necessary for plant growth.