Fuzzy logic is a subset of AI; it is a way of encoding human learning for artificial processing. It is a form of many-valued logic. It is represented as IF-THEN rules.