One of the wonderful things about the chord symbol, is that you can just scribble it on a piece of paper - tah-dah - instant song form! But in the context of written music, with a melody ...
Harmonic minor keys are used when writing chords. There is another version ... alterations have been the basis of a whole range of musical styles. For example, the triads in C major are as follows ...