Extensions in Photos allows you to access many of the editing features in apps such as Pixelmator, Affinity Photo, and Luminar without leaving the Photos app. There’s even a category on the App Store that lists the apps that have Photos extensions.
To see that, double–click any photo then choose Edit from the top–right corner of the window. Click on the More button (…) and choose App Store. In that menu you’ll also see an option called Manage. Click that and you’ll be taken to the Extensions pane in System Preferences, from where you can enable extensions for those apps that support them. Once enabled, the apps appear in the Edit menu.