Military necessity, along with distinction, and proportionality, are three important principles of international humanitarian law governing the legal use of force in an armed conflict.