Before a transaction is confirmed it lives in mempools. Each full node checks it against the consensus rules and its own relay policy, keeps it in memory and passes it to its peers; miners build their block templates from their own mempools.
Bitcoin Core caps the pool by the memory it uses, 300 MB by default. When the pool is full the node evicts the transactions paying least per vbyte and raises the minimum fee rate it will accept until the pool drains. The getmempoolinfo call reports the count, the total virtual size and the memory used as separate numbers.
The Network tab reads one node, mempool.space's. Its queue by fee band is that node's projection of how the next blocks would fill if nothing new arrived. Another node would show a similar picture, but not the same one.