Bit logic is the procedure that includes comparing and calculating the binary numbers. Because computers or electronic circuits only understand ON and OFFs. Before getting to the bottom of bit logic (or bitwise operation), we have to know what is binary numbers.