What are War Crimes?

War crimes were usually done in WWI and WWII. These crimes usually involved killing innocent people or something related to that. It is very punishable by the United Nations if this was to happen.