title: difference between Query and Model mongoose
body: <p>these days i'm trying to learn more about mongoose to implement it in my project ,while going through the doc , i saw both <a href="https://mongoosejs.com/docs/api.html#Model" rel="nofollow noreferrer">Model</a> and <a href="https://mongoosejs.com/docs/api.html#Query" rel="nofollow noreferrer">Query</a>, both have many methods in common ,my question is what is the difference between them for example</p>
  
  <p><code>Model.findOne()</code>vs <code>Query.prototype.findOne()</code>, and thank you in advance.</p>