The technique is personification—attributing human characteristics (walking, talking, old age) to a non-human entity (a tree).