Lex Talionis, or the law of retaliation, is a principle of justice that dictates a punishment should correspond in kind and degree to the offense committed, often summarized as 'an eye for an eye.' It has historical roots in ancient law codes and has influenced modern discussions on justice and retributive legal systems.