The function removes consecutive repetitions of characters in the input string.

Based on the provided input-output pairs, we can approximate the behavior of the function with the following Python code:

[CODE]:
```python
def remove_consecutive_duplicates(string):
    output = ""
    prev_char = ""
    for char in string:
        if char != prev_char:
            output += char
        prev_char = char
    return output
```

The `remove_consecutive_duplicates` function takes a string as input and returns the string with consecutive duplicate characters removed. It achieves this by iterating over each character in the input string and appending it to the output string only if it is different from the previous character. This effectively removes consecutive repetitions of characters from the string.