Unified Diagnostic Services (UDS) is a communication protocol used in the automotive industry for diagnostics and software updates of electronic control units (ECUs) in vehicles. It standardizes the way diagnostic tools communicate with ECUs, enabling a wide range of diagnostic functions, including reading and clearing diagnostic trouble codes (DTCs), reading ECU identification information, and performing ECU reprogramming.