A repeater acts on a purely electrical level to connect to segments. It amplifies and reshapes (and, depending on the type, possibly retime) the analog waveform to extend network segment distances. It does not know about addresses or forwarding, thus it cannot be used to reduce traffic as a bridge can in the example above. Switches can be repeaters. A hub cannot.