Mastering your scales is perhaps the most quintessential thing you can do in order to attain mastery of the piano as a whole.
Chord are easier to understand when you first understand the scales, and in the traditional sense they derive from them.
Therefore, if you’re a complete beginner, I recommend you first practise your scales with basic triad.
But there are so many scales, that even advanced players have something to learn.
Let’s expand your musical vocabulary.
For example: All the chords with Root C, like C major, C natural minor, etc.
E.g.: All the diminished scales, like C diminished, D diminished, etc.