For example, if you bought a long call option (remember, a call option is a contract that gives you the right to buy shares later on) for 100 shares of Microsoft stock at $110 per share for December 1, you would have the right to buy 100 shares of that stock at $110 per share regardless of if the stock price changed or not by December 1. For this long call option, you would be expecting the price of Microsoft to increase, thereby letting you reap the profits when you are able to buy it at a cheaper cost than its market value. However, if you decide not to exercise that right to buy the shares, you would only be losing the premium you paid for the option since you aren't obligated to buy any shares.
With options markets, as with futures markets, long and short refer to the buying and selling of one or more contracts, but unlike futures markets, they do not refer to the direction of the trade. For example, if a futures trade is entered by buying a contract, the trade is a long trade, and the trader wants the price to go up, but with options, a trade can be entered by buying a Put contract, and is still a long trade, even though the trader wants the price to go down. The following chart may help explain this further:
When buying or selling options, the investor or trader has the right to exercise that option at any point up until the expiration date - so simply buying or selling an option doesn't mean you actually have to exercise it at the buy/sell point. Because of this system, options are considered derivative securities - which means their price is derived from something else (in this case, from the value of assets like the market, securities or other underlying instruments). For this reason, options are often considered less risky than stocks (if used correctly).