na-adjective
Describes something that is required or indispensable. Used as a na-adjective.
旅行にはパスポートが必要です。
A passport is necessary for the trip.
もっと練習が必要だ。
More practice is needed.
noun
Used as a noun to refer to the state or thing that is required.
必要は発明の母である。
Necessity is the mother of invention.
その計画の必要性を説明した。
I explained the necessity of the plan.