The Transform Orientation (Hotkey: Alt-Spacebar) determines the orientation of the Object Gizmo. Changing this orientation can make it easier to perform transformations in the direction you want.
Transform Orientations affect the behavior of Transformations: Location, Rotation, and Scale.

The Transform Orientation can be changed using a selector in the 3D Viewport’s header.
