The sunk cost fallacy is a cognitive bias that occurs when individuals continue to invest in a decision based on previously invested resources (time, money, effort) rather than current and future benefits. This fallacy highlights the irrational behavior of allowing past costs to influence ongoing decision-making, often leading to poor choices as people strive to avoid perceived losses, even when the rational option would be to cut their losses.