While Python primarily uses reference counting, it employs a separate generational garbage collector to periodically detect and collect unreachable objects involved in circular references, preventing memory leaks that reference counting alone cannot resolve.