5. The import system - Python 3.9.6 documentation
Python code in one gains access to the code in another module by the process of it. The statement is the most common way of invoking the import machinery, but it is not the only way. Functions such as importlib.import_module() and built-in can also be used to invoke the import machinery.
https://docs.python.org/ko/3/reference/import.html