The docstring in Python is also called a documentation string, it provides a way to document the Python classes, functions, and modules.