When a trader buys an options contract (either a Call or a Put), they have the rights given by the contract, and for these rights, they pay an upfront fee to the trader selling the options contract. This fee is called the options premium, which varies from one options market to another, and also within the same options market depending upon when the premium is calculated. The option's premium is calculated using three main criteria, which are as follows:
For example, if you believe the share price of a company currently trading for $100 is going to rise to $120 by some future date, you’d buy a call option with a strike price less than $120 (ideally a strike price no higher than $120 minus the cost of the option, so that the option remains profitable at $120). If the stock does indeed rise above the strike price, your option is in the money.
If you are buying an option that is already "in the money" (meaning the option will immediately be in profit), its premium will have an extra cost because you can sell it immediately for a profit. On the other hand, if you have an option that is "at the money," the option is equal to the current stock price. And, as you may have guessed, an option that is "out of the money" is one that won't have additional value because it is currently not in profit.
Another example involves buying a long call option for a $2 premium (so for the 100 shares per contract, that would equal $200 for the whole contract). You buy an option for 100 shares of Oracle (ORCL) for a strike price of $40 per share which expires in two months, expecting stock to go to $50 by that time. You've spent $200 on the contract (the $2 premium times 100 shares for the contract). When the stock price hits $50 as you bet it would, your call option to buy at $40 per share will be $10 "in the money" (the contract is now worth $1,000, since you have 100 shares of the stock) - since the difference between 40 and 50 is 10. At this point, you can exercise your call option and buy the stock at $40 per share instead of the $50 it is now worth - making your $200 original contract now worth $1,000 - which is an $800 profit and a 400% return. 

Unlike other investments where the risks may have no boundaries, options trading offers a defined risk to buyers. An option buyer absolutely cannot lose more than the price of the option, the premium. Because the right to buy or sell the underlying security at a specific price expires on a given date, the option will expire worthless if the conditions for profitable exercise or sale of the option contract are not met by the expiration date. An uncovered option seller (sometimes referred to as the uncovered writer of an option), on the other hand, may face unlimited risk.
Options are contracts giving the owner the right to buy or sell an asset at a fixed price (called the “strike price”) for a specific period of time. That period of time could be as short as a day or as long as a couple of years, depending on the option. The seller of the option contract has the obligation to take the opposite side of the trade if and when the owner exercises the right to buy or sell the asset. For more information, check out the Ally Invest Options Playbook here: https://www.optionsplaybook.com/
Conversely, a put option is a contract that gives the investor the right to sell a certain amount of shares (again, typically 100 per contract) of a certain security or commodity at a specified price over a certain amount of time. Just like call options, a put option allows the trader the right (but not obligation) to sell a security by the contract's expiration date.