By meaning
Every passage was turned into a string of numbers — an embedding — that captures what it's about, not just its wording. Your question gets the same treatment, and the engine looks for the passages sitting closest to it. That's how it surfaces the right note even when it shares not one word with what you typed.