This is a good high-level introduction into how LLMs work.

AI Isn’t Smarter Than Us, It’s Just a Better Guesser - Techquickie