The people who cooked the food

Tipping is for personal service. Does the kitchen even receive any of the tip if you tip for takeout? I figured it would just go to the person who hands you the food. After all, if you dine in, the tip doesn't go to the kitchen.