When opening up a car alarm system I found this strange-looking component. I thought that it could be something which is light dependent, but the entire board is enclosed in a black plastic box and the alarm should trigger before the thief reaches the depths of the electric system and thinks of opening it.
What component is this?