Dead Code is source code that remains in a program but is no longer executed or needed.
Removing dead code can reduce confusion, maintenance cost, testing burden, and the chance that obsolete logic will be accidentally revived.
Related concepts include Syntax and Variable.