Necessary and sufficient is the same of "if and only if".
A definition is formalized with a bi-conditional, i.e. with the logical connective translating "if and only if".
The reason is that a definition must license us to replace in very context the definiendum (i.e. the "predicate" that we are defining) with the definiens (i.e. the phrase used to define the definiendum).
Consider the example :
“A lake is a large, landlocked, naturally occurring stretch of water”.
We can re-phrase it as follows :
"Something is a lake if and only if it is a large, landlocked, naturally occurring stretch of water”.
In the conditional statement "If P, then Q", we say that "P is sufficient for Q" because P being true always implies that Q is true.
Thus, the part "Something is a lake if it is a large, landlocked, naturally occurring stretch of water”, i.e. "If something is a large, landlocked, naturally occurring stretch of water, then it is a lake", we have that the definiens is a sufficient condition for being a lake.
And similarly, for the "only if" part : "If something is a lake, it is a large, landlocked, naturally occurring stretch of water”. In this case, we have that the definiens is a necessary condition for being a lake, because something cannot be a lake unless it is a large, landlocked, naturally occurring stretch of water.