Why does mongodb, the database where mongos process is located, also store all the data?

  mongodb, question

Why does mongodb, the database where mongos process is located, also store all the data?

Not all data is stored, similar to the proxy layer, you can query all data through mongos