For example, sweet-tasting foods may have a high caloric content and are preferred, while bitter-tasting foods often contain toxic substances, and are generally avoided.