Pay a “premium” wherever you buy a commodity option. Let's say you purchase a “call” option on 100 bushels of corn, and the premium is $2 per bushel. You will pay $200 for the right to exercise your option until it expires. That is your only cost to purchase the option, except for whatever commission you had to pay to your brokerage company. Even if you choose not to exercise the option before it expires, your investment will be limited to the $200 premium plus commission.
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).