Arm Rotation - responsible for the Backward, Upward, Downward and Forward motion. In other words the Horizontal and Vertical motion.
Shoulder Rotation - responsible for the Inward and Outward motion, In otherwords the incline or angle motion, the motion across the Vertical and Horizontal.