Mark-to-market means valuing a position at its current market price, with gains and losses credited or debited to the margin account as prices move rather than only at the end.
For futures this happens daily or continuously, which is why margin must be maintained the whole time an unrealized loss becomes a real draw on the account.