A civilian is a person who is not a member of an armed force. It is illegal under the law of armed conflict to target civilians with military attacks, along with numerous other considerations for civilians during times of war. If a civilian engages in hostilities, they are an unlawful combatant and temporarily lose their protection from attack.