Hello!
The Samurais Were Pretty Much The Military Officers of Early Japan. The Samurai Were Usually Referred To As Bushi.
The Code That Samurai Would Follow Was Known As "The Way of The Warrior" as almost all of the people of Early Japan Saw Them As Warriors.
Glad to help and Hope You Pass Your Test!!