I know something about this, but not much. However, I think that this grossly oversimplified answer will be helpful. I’d be happy to answer more detailed questions to the best of my ability.
Spanning the country is a set of high voltage wires known as the transmission grid. Actually, the nationwide grid is divided up into many sub-grids each controlled by an electric company or another organization. Between each of the sub-grids are links to adjacent sub-grids.
Attached to the transmission grid are a whole bunch of generation stations (including both those owned by the owner of the sub-grid and those owned independent of that sub-grid owner). Also attached to the grid are the users of high voltage electricity, including industrial plants and local distribution systems, which step down the high voltage electricty and distribute it to homes and businesses.
Each of the generators linked to the grid, users linked to the grid, and links between the subgrids have meters indicating the electricity flowing through the links.
Because of the nature of electrictity, you cannot tag electrons and figure out where they were generated and where they were used.
Rather, if one major electric supplier sells to a major user who needs the electricity, the parties arrange to have sufficient transmission capacity on the links that connect their respective sub-grids, and the supplier simply pumps the required energy onto its sub-grid and the user draws the power off of its sub-grid.
Now issues of how the electricity actually flows, how to reserve transmission capacity, how to buy and sell wholesale electricity, safety and reliability, how all of this is controlled and paid for, and other related issues are horribly complex and rapidly changing with electricity deregulation, but the basic answer is that in a wholesale sale of electricity one company puts an amount of electricity onto the grid and another draws it off.
As for retail electric choice, the oversimplified answer is that the various electric companies agree to put sufficient electricity onto your local distribition system to cover the demand of their customers, and the local electric company is reqired to deliver that electricity to the retail custimers (homes and businesses) on their distribution sustem for a regulated fee.