Samurai worked for their lord. They were expected to serve faithfully and even give their lives if necessary. In return, the lord provided for their basic needs.