Legal advisors in the IDF, as in other countries, examine the legality of planned targets, provide legal advice to commanders both in the field and during the planning stages of operations, and draft operational orders and procedures.
The training and supervision provided by the IDF with respect to the Law of Armed Conflict is similar to or, in some ways, more extensive than those undertaken in the militaries of other democratic countries.
Extended Answer