Chatbot is computer program (or AI) that is in charge of text communication with the user of specific service.
The program is created so it practically simulates behavior of a human, regarding how to chat or have conversation with another human being. In most of the cases this is a dialogue and it is used as a customer and/or user service or in order to collect some specific information.