Understanding Expert System in Artificial Intelligence