Delivery is when you have something delivered to your home. It can be anything.
Take-out is when you go into a restaurant/café/fast food place and order something "to go." You don't eat it in the restaurant, but you "take it out" and bring it to your home/outside somewhere to eat.