That's not really how LLMs work at all. I would really recommend checking out something like [1] to get a rough understanding and avoid attributing too much to them.
1. https://medium.com/@eshvargb/the-llm-journey-how-neural-netw...