The Keys toolbar for the Dope Sheet contains filtering and other display controls, as well as tools for transforming keys and editing them in other ways.
Clicking Edit Keys automatically activates Move Keys or the most recently used editing tool (Slide Keys, etc.) and deactivates Edit Ranges.
Clicking Edit Ranges automatically deactivates Edit Keys and the active editing tool.
Use Filters to determine which scene components appear in Track View. Left-click to open the Filters dialog, or right-click to set filters in a context menu.
Move keys horizontally and vertically, horizontally only, or vertically only in the key window. Choose a Move Keys tool variant from the flyout. See Move Keys.
Use Slide Keys in the Dope Sheet to move a group of keys and slide adjacent keys away as you move. Affects only keys on the same controller track. See Slide Keys.
With this tool active, you can create keys by clicking existing tracks on the Dope Sheet grid. See Add Keys.
Use Scale Keys to reduce or increase the amount of time between keyframes. Works both in Curve Editor and Dope Sheet modes. Uses the time slider as an origin point to or from which to scale. See Scale Keys - Time.