What is the meaning of Necessary?

Required, essential, whether logically inescapable or needed in order to achieve a desired result or avoid some penalty.

Unavoidable, inevitable.

Determined, involuntary: acting from compulsion rather than free will.

A place to do the "necessary" business of urination and defecation: an outhouse or lavatory.

Necessity.

Source: wiktionary.org