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 of the inventions which enabled American railroads to eliminate the caboose at the rear of the train, as well as various station agents placed along active routes to detect unsafe conditions. The use of defect detectors has since spread overseas to other railroad systems.