During shoulder replacement surgery, a surgeon removes the damaged parts of the shoulder joint and replaces them with artificial components called prostheses.