The Hokage are the leaders of Konohagakure. They are generally the strongest in the village, although ideology and renown plays a large part in their being chosen for the position. Five shinobi and one kunoichi have gained this title so far, with another shinobi gaining the title of candidate Hokage.
Generally, the new Hokage is selected by the current Hokage upon their retirement, but if the old Hokage dies or is incapacitated before being able to do so, the Konoha Council and the Fire Daimyo council will meet and appoint a new Hokage together — sometimes within hours of the former Hokage's death as the need dictates. Afterwards, the candidate Hokage will need to be approved by the jōnin of the village.
After being appointed, they are given the Hokage mansion to live in and have their faces carved out in the monument behind it. If the former Hokage is still alive, they will generally keep helping out, making the transition easier and more stable. The Hokage carry their title for life, even after retiring from active duty. The Hokage's office is located in the administrative section of the Ninja Academy.