The expert systems work in very limited domains.Expert systems model human knowledge as a set of rules that collectively are called the knowledge base.
It is a centralized repository for information that holds all the knowledge of the system.
The expert systems use this knowledge base to solve complex problems by reasoning.