To understand the event "Caroline bought a puppy.  Caroline named her puppy Rover.", it is important to know that The word "her" refers to Caroline.