The legal system that governs the behavior of military personnel and provides guidelines for disciplinary actions.