HCLTech interview question

Explain OSGI and its lifecycle?