There are two main reasons. First, futures transactions are all forward commodity prices. In the process of price analysis, including the calculation of national policies, consumption supply and demand, warehouse storage and other related expenses, it will reveal the future price.
Second, there are many people involved in futures trading, including speculators, related enterprises and professional funds. These people's target prices are combined to form a more authoritative spot price in the future.
So futures have the function of finding prices.