A derivative is a financial contract between two counterparties about the price of the underlying asset depending where this price is at maturity there are certain agreements about the mutual payout.