The correct response is: They were an infantry unit loyal to the sultan so that he always had a strong military even without the support of his vassals.
The janissaries were elite infantry troops that formed the backbone of the Ottoman military and were directly loyal to the sultan, which provided a centralized and reliable military force that did not rely on feudal allegiances.