The Legacy!

is episode 31 of the Naruto: Shippūden anime.

Synopsis
Chiyo finishes her Tensei Ninjutsu, after Naruto volunteers to her to use his chakra with her dying chakra. As she continues the technique, she begins to reflect on how Konoha and Sunagakure have acted in the past, and she passes down to Naruto and Sakura her wisdom for the future. A revived Gaara finds himself surrounded by shinobi from Sunagakure celebrating his return. Temari and Kankurō soon reveal that Chiyo gave her life to rescue Gaara, shocking Naruto. Gaara asks his villagers to mourn for Chiyo.