Before a transaction makes it into a block, it sits in the mempool, broadcast to the network but not yet confirmed. It is the held breath between sending and settling.
The mempool is public, which means anyone can watch pending trades and try to act ahead of them. That visibility is the soil in which MEV grows.