As we all know, computers uses binary logic where it measured as high or low; 1 or 0. This means that we can control what we want as output by placing these logic gates in a circuit!
Logic Gates Example:
These above are gates that we needed to know for our A Level Exam (at least these are the only ones in the textbook unless im blind)
Here we could simulate what do these do!