The Uniform Code of Military Justice (UCMJ) establishes the framework for discipline and justice in the U.S. military, detailing the rights and responsibilities of service members. It encompasses a wide range of offenses from minor infractions to serious crimes and provides mechanisms for both non-judicial punishment and court-martial proceedings. The UCMJ's adaptability to modern challenges ensures its ongoing relevance in maintaining order and upholding the military's integrity and values.