The legal proceedings that adjudicate offenses committed by military personnel and provide for military punishment.