OSGi modules are related to Eclipse and how they modularized their components.
Yes modules in Java don't mean the same thing as in Modula-2, Ada has packages, child packages and nested packages, Object Pascal/UCSD Pascal has units, while VMS Pascal has modules, and so on.
There is plenty of literature to educate onself about the subject instead of Internet random searches.