What is pyplot used for?

I understood the fact that matplotlib is a python library that is used for the visualisation work but why pyplot is used? what is the actual use case of pyplot?
as written while importing
import matplotlib.pyplot as plt

Pyplot is generally used to visualize or plot functions in 2D.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.