They are charged with both the defense and prosecution of military law as provided in the Uniform Code of Military Justice.
Explanation:
There are five main branches of the military including the Army, Air Force, Navy, Marine Corps, and the Coast Guard. The Army is the main ground force and largest branch of the military. The Army's job is to control and fight on land using land troops, tanks, and artillery. (Sorry I don't know much about army stuff. I Hope this helps.)