It is part of the factory alarm system. I'm surprised you aren't getting random alarms with the sensor not set up. It should be triggering a signal that the hood is open. When you hit the locks on your key fob does the horn beep twice? The double beep tells you that a sensor is reading open.