Widgets vs. Apps
Compared to a "real" app, widgets have a reduced range of functions and mainly contain interactive media or media containers. Widgets are usually opened in windows and used within apps. In this sense, apps can contain and open widgets.
Since the media contained in the widgets themselves are equipped with interactive touch functionality, many widgets have a standardized window frame that allows the widget to be easily moved, scaled or rotated with the fingers.