How does f&o work

How exactly does the F&O market mechanism work?