What is the purpose of a Python package manager like pip?
A. To install Python itself
B. To manage Python environments and dependencies
C. To execute Python scripts
D. To debug Python code
Pip is a package manager for Python used to install, manage, and update Python packages and their dependencies.