Sliding changes a shot's position in the edit sequence without changing the head or the tail frames. It simultaneously slides the shot under the cursor and trims the head and tail of the surrounding gaps.
You can slide an element or a transition. See Transitions.