The treat would most likely be considered as an incentive. Incentives are external motivators. They are used to motivate a change in behavior by means of giving the subject something in return for the change. It can also be used as a means to motivate someone to do something.