The Apollo Guidance Computer, a compact device programmed by weaving wires around a pattern of doughnut-shaped magnetic cores, was a key component of the Apollo spacecraft's navigation and control systems.