Logic is the basis of everything that happens in a computer. AND, OR, NOR, NAND not to mention my personal favourite, XOR.
If you really want to understand it all, here’s a great piece that can help. Learn the very basic building blocks of a half and full-adder here in this amazing demonstration of the world’s slowest computer…
Adding 6 and 4 has never been so complicated.