A defect detector is a device used on railroads to detect axle and signal problems in passing trains. The detectors are normally integrated into the tracks and often include sensors to detect several different kinds of problems that could occur. Defect detectors were one invention which enabled American railroads to eliminate the caboose at the rear of the train, as well as various station agents stationed along the route to detect unsafe conditions. The use of defect detectors has since spread to other overseas railroads.