The function reverses the order of the characters in the input string.
