Second-generation computers (late 1950s to mid-1960s) replaced vacuum tubes with transistors as the primary switching component. Transistors were smaller, more reliable, generated less heat, and consumed less power. This shift enabled computers to become smaller, faster, and more commercially viable. Registers and capacitors remained as components but were not the fundamental switching technology.