Question: how osgi works in aem?
Answer: OSGi is a fundamental element in the technology stack of Adobe Experience Manager (AEM). It is used to control the composite bundles of AEM and their configuration. OSGi "provides the standardized primitives that allow applications to be constructed from small, reusable and collaborative components.