The function takes a string input and returns a modified version of that string by capitalizing the first letter of each word.

