Ceramic resistor under hood? What is it?

I have a 2005 Pontiac Wave.I've noticed what looks like a resistor in the engine bay, underneath the battery.It's ceramic, couple inches long with one wire in each side.It's clearly falling apart, but I don't know what it is, which makes it hard to order a new one.If anyone knows what this is let me know.

I think it might be related to daytime running lights,which periodically don't work.
Or it might be related to engine cooling fan, or A/C operation.
Like I stated, it's clearly crumbling from water/frost damage. I'm hoping it might help with daytime running lights or that it might prevent some issues down the road.

i agree with it most likely not being the fan, etc. the only thing i can think it might be is a ground resistor for the 5v signals. But that seems highly unlikely. I have to admit i was sort of surprised when i came across it too.