The function takes a string as input and returns the reversed string.

