Applications, challenges and ethical issues of AI and ChatGPT in education