Machine Learning (ML) is an artificial intelligence (AI) area that is a set of statistical techniques to solve problems. ML techniques can be applied to a wide range of unlimited problems-vision-based research, fraud detection, price prediction, and even natural language processing (NLP). A smart, user-friendly automatic response system is developed with the ability to detect and answer questions in English. There are many response systems that use the concept of natural language processing to answer the questions, but they are not so accurate in finding the right answer. Specific predefined queries with specific format are also required. Users need to ask the questions in the given format only for such systems. Users can enter the queries as they wish in the proposed system. No specific format is required. If the query fails to match any predefined query, the user will be suggested the best matched query. The domain expert keeps the answers to such questions in a database. The best matched response searched from the database is returned to the user during the retrieval of answers. A template matching technique is used to perform this match. Thus the system is more efficient and accurate from all the perspectives.