Court-martial is the equivalent of a criminal trial against a member of the military. Nonjudicial punishment is an alternative to a court-martial if a service member’s commanding officer does not believe that the service member’s conduct is severe enough to warrant criminal charges. Commanding officers typically have discretionary power to enact whatever nonjudicial punishments they deem appropriate to fit an offense.