The < operator takes two operands and compares them. If the operands are numeric then the numeric type conversion rules are applied before the comparision is done. If the operands are of char type or of string type then the char/string type conversion rules are applied before the comparision is done. The result of this operation is of boolean type and is true if the left operand is less than the right operand, and false otherwise.
For example
23 < 23 results in false
-23 < -23 results in false
23 < 23.0 results in false
23.0 < 23 results in false
2 < 3 results in true
2 < -3 results in false
-2 < -3 results in false
3 < 2 results in false
-3 < 2 results in true
-3 < -2 results in true
and
'abc' < 'abc' results in false
'abc' < 'abcd' results in true
'abc' < 'ab' results in false
'abc' < 'abd' results in true
'abc' < 'aac' results in false
'abc' < 'b' results in true