Context Word: perks. 
Question: PersonX found there were a lot of perks to being friends with PersonY, because _ was always being treated when they were together. 
Answer: PersonX
PersonX found there were a lot of perks to being friends with PersonY, because _ was always giving treats when they were together.