How does the ZigZag indicator work?

How does the ZigZag indicator work?

The ZigZag indicator works by connecting significant highs and lows in the price chart with trendlines.

It helps traders focus on the most relevant price movements while filtering out minor fluctuations.