Nachiketa was a young seeker who became troubled when he saw his father performing a ritual donation. He asked a question that was difficult for the household to answer and, in the story, was sent to the house of Yama, the lord associated with death.
Yama was away when Nachiketa arrived. The young visitor waited three nights without food or welcome before Yama returned. Recognizing that a guest had been left waiting, Yama offered Nachiketa three gifts or wishes. Nachiketa asked first for reconciliation with his father, then for knowledge of a sacred fire ritual, and finally for the answer to what happens beyond death.
Yama offered him wealth, long life, and worldly pleasures instead of answering the deepest question. Nachiketa refused to exchange lasting knowledge for temporary possessions. The Upanishad then turns from the story toward philosophical teaching about the self, choice, discipline, and the distinction between what is merely pleasant and what is truly worth pursuing.