As an example, let's say an initial margin amount of $3,700 allows an investor to enter into a futures contract for 1,000 barrels of oil valued at $45,000—with oil priced at $45 per barrel. If the price of oil is trading at $60 at the contract's expiry, the investor has a $15 gain or a $15,000 profit. The trades would settle through the investor's brokerage account crediting the net difference of the two contracts. Most futures contracts will be cash settled, but some contracts will settle with the delivery of the underlying asset to a centralized processing warehouse.
However, options are not the same thing as stocks because they do not represent ownership in a company. And, although futures use contracts just like options do, options are considered lower risk due to the fact that you can withdraw (or walk away from) an options contract at any point. The price of the option (its premium) is thus a percentage of the underlying asset or security.