Given the growing number of people who turn to ChatGPT when studying a foreign language, pioneering research by UPF reveals the potential and the shortcomings of learning a second language in this way.