Sunk costs refer to costs that have already been incurred and cannot be recovered, such as money spent on purchasing a software license. Sunk costs should not be considered when making rational decisions. Opportunity cost refers to the value of the next best alternative forgone when a choice is made. It is the cost of an opportunity lost by choosing one alternative over another. Opportunity costs can be explicit, involving direct monetary payments, or implicit, involving the failure to allocate existing resources to their best alternative use.