Every Python C extension starts with defining a `PyModuleDef` struct, which contains crucial metadata like the module's name and a table of its methods. This definition is then passed to `PyModule_Create` (or `PyModule_Create2`), the essential function that initializes and returns the Python module object.