Describe what the function is doing in language.

Please provide your description.