The Role of Artificial Intelligence in Foreign Language Teaching: Theoretical Foundations and Practical Application | Synapse