If "A girl is giving a dog a treat.", does this mean that "A girl is with a dog."?
yes