A set piece in rugby refers to a structured situation where the ball is put back into play after a stoppage, typically a scrum or a lineout. Set pieces are important for both attacking and defending teams, as they provide opportunities to regain possession or launch an attack.