Muscles worked: shoulder anatomy
The shoulder is built around the deltoid (delts), which has three heads, each with its own job. The front delt raises your arm forward and helps in every press, from overhead presses to the bench press. The side delt lifts your arm out to the side, and it is what makes your shoulders look wider. The rear delt pulls your arm back and keeps the shoulder in a good position, so undertrained rear delts often show up as rounded posture.
Under the deltoid sit the rotator cuff muscles. They are small, but they keep the top of the upper arm bone centred in the socket. Light external rotation work will not build big shoulders, but it helps you train longer and more comfortably.