An app extension is a feature that allows iOS apps to offer functionality outside their main container.
App extensions allow integration with iOS and deliver value to users even when the main app is not actively running.
Examples of app extensions include Share Extensions which enable users to share content from other apps, and Widget Extensions which display key information on the user's Home Screen or Lock Screen.
A practical example of an app extension is a Photo Editing Extension that integrates with the Photos app, allowing users to apply filters or transformations without leaving the Photos UI.