Surrender fan on headlights?

Hello together, I mean, I always noticed that a kind of fan runs after when you turn off the vehicle and the light is on for a moment, is that so? Today when you park the car a small fan (not the engine fan) ran still a moment, this time it sounded like a mixture of ultrasonic toothbrush and dremel, as if leaves were hanging in it. I couldn’t find anything because of lack of sufficient light. My question: is there a fan somewhere? e.g. a fan , which cools the bulb or something? Have also attached a short sound file… Greetings and thanks dj