A testbench is a controlled, isolated environment—either virtual (simulation) or physical—used to verify the functionality, performance, and reliability of a software or hardware component (the Device Under Test or DUT) by simulating real-world scenarios before final deployment