In several ways, Obito Uchiha serves as a foil to Naruto, particularly in the early lives they led. As a child, Obito was unaware of his parents’ identity and only had his grandmother to take care of him. In the academy, he formed a one-sided rivalry with Kakashi Hatake, who was leagues above him. He also became close friends with Rin Nohara, and later fell in love with her, but his feelings were never reciprocated. It’s safe to say that Obito didn’t exactly love his childhood.
During the Third Shinobi War, Obito’s desire to save his friends stood taller than Kakashi’s decision to complete the mission, and the Uchiha went alone to rescue the kidnapped Rin.
In the series, Kakashi returns to help his teammate but loses his left eye in a fight. While escaping the cave after saving Rin from her captors, Obito once again chooses to save his friend and sacrifices himself to save Kakashi from a falling boulder.
Crushed under the boulder and unable to move, Obito requests Kakashi to take his Sharingan left eye as a gift to congratulate him for becoming a jōnin. As the rocks tighten around them, Rin and Kakashi are forced to abandon Obito and return to the village. In Konoha, a memorial is built in memory of Obito Uchiha.