How does the Python chatterbot library work?

I wanted an explanation on how the AI ​​works, to give an explanation when I introduce my chatbot, I've already had a look at the documentation but I only say that it is about an automatic learning …