It's common for parents to offer a "special"—and often unhealthy—food as a reward for good behavior or a job well done. They may also withhold those special treats as a means of punishment. A parent might refuse to serve dessert, for example, if their children have talked back or haven't cleaned their rooms.
Using food as a reward or as a punishment, however, can undermine the healthy eating habits that you're trying to teach your children. Giving sweets, chips, or soda as a reward often leads to children overeating foods that are high in sugar, fat, and empty calories. Worse, it interferes with kids' natural ability to regulate their eating. It also encourages them to eat when they're not hungry to reward themselves.
Offering otherwise off-limits food as a reward or special treat is also confusing. Children hear that they're supposed to enjoy foods that are good for them and stay away from foods with little nutritional value. Being told that they can indulge in foods that are bad for them as a reward for doing something good sends a mixed message. They may also start relating unhealthy foods to certain moods. For example, it could send a message that when you feel good about yourself it's okay to reach for a sweet.