Basic logical relationship:
1, and logical AND gate: If all conditions A and B that determine an event F must be met, the event F will occur, otherwise it will not. This logical relationship is called AND logic.
2. OR logical AND OR gate: If at least one of the conditions A and B for determining event F is met, event F will occur, otherwise it will not. This logical relationship is called OR logic.