OpenStax College: "Principles of Microeconomics, 2.1: How Individuals Make Choices Based on Their Budget Constraint"

Read this section to understand opportunity costs.