Keyboard Maestro has a very large number of actions. Each action describes what you want done. A macro includes of a sequence of actions.
See the documentation for more information on actions and how to use them.
Some available actions include: