ELI5: Explain Like I'm 5

digital logic

Digital logic is like a language that computers use to work. Digital logic is the basic rules computers use to decide if something is true or false, like a yes or no. For example, if you tell a computer to turn the lights on, it will first use digital logic to decide if it is correct to turn the lights on. If it decided that it is correct to do so, it will turn the lights on. Digital logic is like a set of instructions that a computer uses to make decisions.