Mark to Market - Futures Settlement Price

Hi,

When we enter into Futures contract it would be daily mark to market. Since, it is exchange traded, it would be continuously trading then how the settlement price would be decided?

Check the curriculum: volume 5, reading 45, ยง4, p. 163.