The full form is ‘an eye for an eye and a tooth for a tooth’. It is used when someone has committed a crime or done something wrong; it means that the revenge should be of the same degree.
I believe that murderers should be executed. An eye for an eye.