Simple, two-terminal SMT (surface-mount-technology)-ferrite-bead components perform crucial functions in many systems. For example, one might suppress electromagnetic emissions from a power wire.
That small black lump on your charger cable is a ferrite bead, a vital component that filters out electrical noise. This noise can disrupt charging and data transfer. While less common on new cables ...