Favor boxes are just simply a small thank you for attending whatever function it is, or even like a gift. It's very popular in weddings. It can be a small gift or even things like chocolate.
Aren't those like party bags, that your guests/friends/family take home. For kids, candy and small toys. Adults can vary.