Discrete signals have discrete values, which means specific values. Digital indicators require two DISCRETE states, on or off, to transmit information. For illustration, a gentle switch on your house is in itself a discrete sign. However, if you happen to had been to flip the change on or off in the form of Morse Code, then you can be transmitting a digital sign, which is a signal that carries distinct understanding making use of discrete values. This example is very simple. Analog signals are continuous and change smoothly from one value to another, passing through all intermediate values. Sending unique binary pulses periodically create a binary digital signal. There is no way to identify errors. Digital signals have discrete encoded states that they switch between. Usually complex form of data are sent to and fro through data lines, be it the SATA cable of your hard drive, the USB port or the Internet.
An analog signal can change continuously over a wide range of values. An analog signal is in some way a direct analogy of the information it represents. They can only assume the defined encoded values. The flag on a mailbox is a binary communication system, when the flag is up it signals that mail is available for pickup, when it is down there is nothing in the mailbox. Binary refers to a system which may have one of two states.