A court-martial (plural courts-martial, as "martial" is postpositive) is a military court. A court-martial is empowered to determine the guilt of members of the armed forces subject to military law, and, if the defendant is found guilty, to decide upon punishment. In addition, courts-martial may be used to try prisoners of war for war crimes. The Geneva Convention requires that POWs who are on trial for war crimes be subject to the same procedures as would be the holding military's own forces.
Most navies have a standard court-martial which convenes whenever a ship is lost; this does not presume that the captain is suspected of wrongdoing, but merely that the circumstances surrounding the loss of the ship be made part of the official record. Most military forces maintain a judicial system that tries defendants for breaches of military discipline. Some countries like France and Germany have no courts-martial in time of peace and use civilian courts instead.
Usually, a court-martial takes the form of a trial with a presiding judge, a prosecutor and defensive counsel (all trained lawyers as well as officers) and (in some cases) a panel of officers (and sometimes enlisted personnel) acting as jury. The precise format varies from one country to another and may also depend on the severity of the accusation.
Courts-martial have the authority to try a wide range of military offences, many of which closely resemble civilian crimes like fraud, theft or perjury. Others, like cowardice, desertion, and insubordination, are purely military crimes. Military offences are defined in the Armed Forces Act 2006 for members of the British Military. Regulations for the Canadian Forces are found in the Queen's Regulations and Orders as well as the National Defence Act. For members of the United States armed forces offenses are covered under the Uniform Code of Military Justice (UCMJ). These offences, as well as their corresponding punishments and instructions on how to conduct a court-martial, are explained in detail based on each country and/or service.