well, lets say you make a blog site, and you have an admin page where you have a form to post news. Instead of havnig to type the html to get the formatting for you blog correct, you could type bbcode into the box, and then use this function to parse the form once its submitted.