globals() is a built-in function in Python that returns a dictionary representing the current global symbol table. This dictionary always contains the current scope’s global variables. You can use it to access and modify global variables from within a function or a class.