It basically converts our spoken question into to text, process the query and return the answer, and finally turn the answer from text to speech. It could be easily modified to work in robotics and Home automation.
Speech to Text and Text to Speech using Google speech services, and Query Processing using wolfram alpha.