This is a device that basically tells you when your chain is worn to the point of replacing or so worn that you may need to think about replacing the chainrings as well.
Chain wear can definitely affect your ride for the worst and can cause an accident. They wear out as a result of the rivets being pulled on by the outer plates. It’s what they call a chain...