ECU warnings allow you to detect changes in ECU parameters and take actions over these changes. They can be used to detect fuel theft, or any irregular values reported by the ECU.
Read the documentation for the description of the file here, and it's application in Syruslang to trigger events here.