These codes set out the expectations for behavior and conduct for military personnel both on and off the battlefield.