Scan-based DFT is the combination of scan chain insertion and automatic test pattern generation (ATPG) that forms the backbone of modern digital manufacturing test. Scan insertion replaces ordinary flip-flops with scan flip-flops and stitches them into shift-register chains during physical design; ATPG software then analyzes the resulting scan-accessible structure to derive test patterns targeting stuck-at, transition, and other fault models. The pairing works because scan gives the tester direct, controllable access to internal state that would otherwise be unreachable through functional pins alone, while ATPG automates what would otherwise be an intractable manual pattern-writing problem for a chip with millions of gates.