Digital electronics treats discrete signals, unlike analog electronics which treats continuous signals. Digital logic is used to perform arithmetic operations with electric signals and constitutes the base for building CPUs.
Digital logic deals with the design of hardware that processes only two values, which are usually denoted as 0 and 1. These two values represent a binary number system.
For more information, see the Wikipedia article.