Explain the how energy is being transferred in the following relationship: Berries -> Squirrel

It depends on what the squirrel does with the berries. If she eats them, it's one thing. If she throws them at your dog, it's something else. I suspect you refer to the food chain:

https://www.khanacademy.org/science/biology/ecology/intro-to-ecosystems/a/food-chains-food-webs