With a Multi-Touch trackpad or Magic Mouse, you can tap, swipe, pinch, or spread one or more fingers to perform useful actions.
For more information about these gestures, choose Apple menu > System Preferences, then click Trackpad. There you can turn a gesture off, change the type of gesture, and learn which gestures work with your Mac.
Source: https://support.apple.com/en-au/HT204895