An impact sensor is like a toy that tells you how hard you hit something. Imagine you have a toy that has a button on it. When you push the button, it lights up and makes a noise. Now, imagine that you stick that toy onto a wall. When you hit the wall, the toy knows that you hit it because it feels the impact. It then lights up and makes a noise just like before. This is what an impact sensor does, it senses when something hits it and tells you about it!
Now, imagine the impact sensor is on a car. When the car gets into an accident, the impact sensor senses the force of the accident and tells the car's computer that something has happened. The computer can use this information to decide if the airbags need to be deployed to keep the people inside safe.
So, an impact sensor is like a toy that tells you how hard you hit something, but it's used in cars to keep people safe in case of an accident.