In all hearing aids sound enters through a microphone. It is then processed and amplified and delivered to a receiver (loudspeaker). This sends the output either directly to the user's ear canal, or via tubing to an earmold and into the ear canal.
In an analog hearing aid the original acoustic signal is processed as an electrical signal. In a digital hearing aid, however, the acoustic signal is converted into digits (0, 1), processed within the hearing aid, and then reconverted to an analog acoustic signal for the listener.