Futures can be used to hedge the price movement of the underlying asset. Here, the goal is to prevent losses from potentially unfavorable price changes rather than to speculate. Many companies that enter hedges are using—or in many cases producing—the underlying asset
For example, a corn farmer can use futures to lock in a specific price for selling their corn crop. By doing so, they reduce their risk and guarantee they will receive the fixed price. If the price of corn decreased, the company would have a gain on the hedge to offset losses from selling the corn at the market. With such a gain and loss offsetting each other, the hedging effectively locks in an acceptable market price.