The Laws of war are some simple rules or international law which most people accept about fighting out of humanitarianism. Many people think that because there is fighting, there should be no rules. This is called "total war". However, laws of war have been made so that wars do not get worse than they need to be.
Anything marked as a hospital, an ambulance, a doctor, or a first aid person are not to be attacked. Those places, vehicles, and people should not have weapons.
Anyone who is a member of a neutral power is not to be a target of violence unless the said person is committing or intending to commit a hostile act.
Anyone fighting in the war has to wear a uniform. They can only wear the uniform of their side. Also they have to carry their weapons out in the open where they can be seen.
Anyone carrying or waving a plain white flag or piece of cloth must not be attacked. That person should also not attack anyone. They may want to surrender, or just talk about ways to solve the problem without more fighting.