Mental accounting is a cognitive bias where individuals categorize and treat money differently depending on its source or intended use, leading to irrational financial decisions. This phenomenon can cause people to spend more freely from a 'bonus' than regular income or save less than they should by mentally separating funds into different 'accounts.'