An expert system is a type of artificial intelligence software that uses a knowledge base of human expert knowledge to advise users. The expert system infers answers to user questions using an inference engine that applies rules to the knowledge base. A knowledge engineer collects information from human experts to build the initial knowledge base and rules for the system to use in providing automated expert advice where a human expert may be unavailable or too expensive.