The broker basically resets the positions and provides either a credit or debit for the interest rate differential between the two currencies in the pairs being held. The trade carries on and the trader doesn't need to deliver or settle the transaction. When the trade is closed the trader realizes their profit or loss based on their original transaction price and the price they closed the trade at. The rollover credits or debits could either add to this gain or detract from it.
Forex (FX) is the marketplace where various national currencies are traded. The forex market is the largest, most liquid market in the world, with trillions of dollars changing hands every day. There is no centralized location, rather the forex market is an electronic network of banks, brokers, institutions, and individual traders (mostly trading through brokers or banks).
More specifically, the spot market is where currencies are bought and sold according to the current price. That price, determined by supply and demand, is a reflection of many things, including current interest rates, economic performance, sentiment towards ongoing political situations (both locally and internationally), as well as the perception of the future performance of one currency against another. When a deal is finalized, this is known as a "spot deal". It is a bilateral transaction by which one party delivers an agreed-upon currency amount to the counter party and receives a specified amount of another currency at the agreed-upon exchange rate value. After a position is closed, the settlement is in cash. Although the spot market is commonly known as one that deals with transactions in the present (rather than the future), these trades actually take two days for settlement.