USB is digital, as is serial, paralell, etc. An analog voltage must be sent over the Rx and Tx lines, but this is how the digital values are understood by electronic components. Usually a voltage of +5V signifies a digital 1, and a voltage of 0V is a 0. (These arent exact, but usually within a range (>2.5V = 1 , < 2V = 0). For a serial port it actually uses 12V signals to transmit the digital data.