In the era of deep digitalization and the development of Artificial Intelligence (AI), the role of chatbots in the education system is gaining increasing importance. This paper theoretically examines the use of chatbots as a support tool in teaching AI concepts, focusing on didactic functions, automated interaction, and the potential for personalization of the learning experience. Through an analysis of the contemporary literature, the main benefits of chatbots in education are presented: improving student-platform interaction, supporting self-directed learning, and their integration into curricula that deal with logic, algorithms, and data. It also addresses the ethical challenges and technological limitations that need to be considered when using educational chatbots, including issues of privacy, equitable access, and the quality of automated responses. The paper does not rely on experimental data, but rather provides a conceptual overview of current developments and recommendations for informed use of chatbots in the context of teaching Artificial Intelligence in secondary and primary education.