Why do horses like carrots?

Horses like carrots due to the taste. Carrots have a certain level of sweetness that horses enjoy.