Musictheory - Chords of the scale

A triad can be composed on each note or pitch.
As a result, each scale has a total of 3 major chords, 3 minor chords and one dim chord. If in a scale the first, third and fifth, the second, fourth and sixth, etc. are played, these result in the chords of the scale. These seven chords can be improvised
with the same scale.