The price at which you agree to buy the underlying security via the option is called the "strike price," and the fee you pay for buying that option contract is called the "premium." When determining the strike price, you are betting that the asset (typically a stock) will go up or down in price. The price you are paying for that bet is the premium, which is a percentage of the value of that asset.
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).