Doc vs Query embeddings

What exactly is the difference between how a document embedding model and a query embedding model work?

Assume I had 10 sentences of different nature in a document and embedded it.
So, will this document be similar if my query text has content similar only to 1 of those 10 sentences in that document?