A stock option is a contract between two parties that allows the buyer the right to buy or sell underlying stocks at a set price and within a set time period. An option writer is a person who sells stock options and is compensated with a premium from the contract that the buyer purchases.