This function removes HTML and PHP tags from a string. This is helpful for cleaning user inputs and ensuring that no harmful scripts or unwanted HTML tags are present in the data.