An option is a contract between a buyer and a writer (seller) of an underlying asset where the buyer retains the right, but not obligation, to buy or sell the underlying asset from/to the writer at a given strike price, either on or before a predetermined expiration date. The buyer of an option pays the writer a premium to offset the risk the writer undertakes. There are two major classes of options: call option and put option.