The process of investigating, prosecuting, and adjudicating offenses committed by military personnel.