This is one of those magic tricks they perform in carnivals and magic shows, right? Well tht explains how it's done, but some say they use optical illusion and not really insert a real sword into their mouths.
I think about them as notes. It's the applications way of taking notes. These notes help machines keep track of how they are doing in terms of functionality.