How does the speech synthesis system work?

speech synthesis system
Andy0101 [Public domain], via Wikimedia Commons