They work exactly the same as they do in Windows. You produce a shortcut menu by right-clicking (or two-finger clicking, or Control-clicking) things like icons, list items, and so on.