So imagine your computer or TV runs on electricity like how you run on food. But sometimes, there are some funny things in the electricity that can make your computer or TV not work so well. Like how sometimes when you eat food, there could be something bad in it that makes you sick.
A line filter is like a special kind of guard that lets the good electricity pass through to your computer or TV, but it stops any of the funny things from getting in. It's like a filter for water, which makes sure the water you drink is clean and doesn't have anything bad in it. The line filter does the same thing, but for electricity! So your computer or TV stays safe and works the way it should.