You might think of Python as the backend; a Python interpreter is the backend to the backend, or the engine that executes statements, evaluates expressions, and manages variables and memory at runtime.
It takes the code and converts it to bytecode and then runs it on a Python virtual machine. The following infographic shows the steps in more detail:


