Test coverage is a metric used in software testing to determine the extent to which the source code is tested by a particular set of tests. It helps identify untested parts of a codebase, thereby guiding developers to improve the quality and reliability of their software.