Minecraft wiki entry for Creating_behavior_packs, associated text: entities is responsible for the items dropped by any entities, as well as things such as the armor worn by entities, and things such as piglin bartering.