To change the orientation of a selection, a layer, or an entire image (that is, the image canvas). For example, to make a vertically oriented image horizontal.
The original image (left) has two layers. In the center image, the top layer is rotated, while the background layer remains static. The image at right shows the canvas, and therefore all layers, rotated 180°.