Theory and technique

What is harmony in music? Chords, functions and progressions

Harmony is what sounds underneath the melody: chords that rest, move or build tension. We explain triads, chord functions, chord progressions and a method for analyzing songs.

By Gissi teamUpdated Facts checked 10 min read
A pianist plays soft chords in a café while a singer listens, leaning against the piano

Musical harmony is the notes that sound at the same time—the chords—and the way one chord follows another. It accompanies the melody and gives it a foundation, color and direction: moments of rest, movement and tension.

Harmony is the branch of music that studies notes sounding together, chords, and how they follow one another, progressions. If the melody is what you sing, harmony is what the guitar or piano plays underneath.

In tonal music, each chord has a function relative to a center called the tonic: chords of rest (tonic), movement (subdominant) and tension (dominant). Understanding those three functions is the key to analyzing songs, learning them by ear and composing.

In short

  • A basic chord, or triad, is built by stacking thirds: root, third and fifth.
  • There are four triad types: major, minor, diminished and augmented; the third determines whether a chord is major or minor.
  • Tonic (I) brings rest, subdominant (IV) brings movement, and dominant (V) creates tension that calls for a return.
  • The dominant creates tension because it contains the leading tone, the note that wants to rise a half step to the tonic.
  • To analyze a song, find the tonic, write the chords as Roman numerals and label their functions.
  • Harmony helps you accompany a melody, create tension and rest, add emotional color, and play, compose and improvise with understanding.
  • Melody is notes played one after another, harmony is notes played together, and rhythm is how they are arranged in time; in a band, different instruments usually handle each one.

Melody, rhythm and harmony: what each means

Melody is a sequence of notes over time: you read it “horizontally.” Harmony is the “vertical” dimension: which notes sound together at each moment and how that group of sounds changes. Rhythm organizes both in time.

If you sing “Cumpleaños feliz” on your own, you have melody. If someone accompanies you with three guitar chords, harmony enters the picture, and the same melody starts to sound like a question, an answer or an ending. Piano, guitar and tiple are harmonic instruments because they can play chords; a violin or flute contributes to harmony through arpeggios or by playing with other instruments.

Melody, harmony and rhythm in a table

Melody is the line you can sing, harmony is the chords that support it, and rhythm is the arrangement of sounds in time. You hear them at once, but perceive each one differently.

The three basic elements of music
ElementWhat it isHow you hear itA simple exampleWho usually handles it in a band
MelodySuccessive notes that form a lineIt's what you hum after the song endsSinging “Happy Birthday” without accompanimentVoice, violin, flute, trumpet or lead guitar
HarmonyNotes that sound together and how they changeIt's the “background” that creates a sense of rest or tensionPlaying C, F and G chords on a guitar or pianoPiano, keyboard, rhythm guitar or tiple
RhythmThe arrangement of sounds and silences in timeIt's what makes you tap your foot to the beatClapping along to the beat of a songDrums, percussion and bass

The bass is a special case: it plays one note at a time, but usually outlines the root of each chord, connecting rhythm and harmony.

What harmony is for

Harmony helps you accompany a melody, give it context and make it sound like a question, an answer or an ending. It is also a tool for creating tension and rest, and it lets you play, compose and improvise with understanding rather than guesswork.

  • Accompanying a melody: one person sings and another plays chords. With three chords, such as C, F and G, you can accompany hundreds of songs.
  • Creating tension and rest: the dominant creates tension and the tonic brings rest. That movement back and forth keeps listeners interested.
  • Adding color and emotion: the same melody sounds cheerful over major chords and more melancholy over minor chords.
  • Playing and learning songs by ear: if you recognize the progressions, you know which chord comes next before you hear it.
  • Composing and arranging: you choose the chords that support your melody and decide which emotion they accompany.
  • Improvising: which notes sound good over each chord depends on the harmony. That's why improvisers study chords first. If you'd like to get started, see how to start improvising.

Here's an example: take the first phrase of “Happy Birthday”. With C and G, it sounds clear and festive. If you replace C with C minor, the same melody takes on a serious mood. The melody hasn't changed; the harmony has.

The chord: three notes stacked in thirds

The triad, the most basic chord, is built from a root, its third and its fifth. The kinds of third and fifth determine its color:

The four triads built on C
TriadConstruction from the rootNotesSymbolCharacter
MajorMajor 3rd + perfect 5thC – E – GCStable, bright
MinorMinor 3rd + perfect 5thC – E♭ – GCmStable, darker
DiminishedMinor 3rd + diminished 5thC – E♭ – G♭Cdim or C°Tense, unstable
AugmentedMajor 3rd + augmented 5thC – E – G♯Caug or C+Unresolved, unusual

Adding another third on top gives you a seventh chord. The most important is the dominant seventh: G7 = G – B – D – F. To review thirds and fifths, see what a musical interval is.

Harmony explained for children

Harmony happens when several notes sound at the same time and work well together, like a choir singing different parts together. A single note is like a color; a chord is like mixing three colors to make a new one. With the melody, you sing the song, and harmony is the ground it walks on.

An activity to do at home

  1. On a keyboard or piano, play just the note C and listen to how it sounds.
  2. Now play C, E and G at the same time, with three fingers (the C major chord). Listen to how much fuller it sounds.
  3. Play C on its own again and ask yourself: which sounds more complete?
  4. Ask someone to play C-E-G while you sing or play the first phrase of “Twinkle, Twinkle, Little Star” (C C G G A A G), one note at a time. You've just made melody and harmony together.

Tonic, subdominant and dominant: the three functions

If you build a triad on each note of the C major scale using only notes from that scale, you get seven chords. Each is labeled with a Roman numeral based on the scale degree it starts on, and serves one of three functions:

The chords of C major and their functions
DegreeChordTypeFunctionFeel
ICMajorTonicRest, “being home”
iiDmMinorSubdominantPrepares the way for the dominant
iiiEmMinorTonic (weak)Ambiguous rest, rarely used as an ending
IVFMajorSubdominantLeaving home, movement
VG or G7MajorDominantTension that calls for a return to the tonic
viAmMinorTonic (substitute)Rest with a sad color
vii°B°DiminishedDominantTension, like an incomplete V

Why does the dominant “pull” toward the tonic? Because it contains the leading tone, the seventh degree (B in C major), which is a half step below the tonic and tends to rise to it. In G7, B and F also form a tritone, the most unstable interval: when it resolves, B rises to C and F falls to E, turning tension into rest.

The same happens in a minor key, with one detail: the seventh degree is raised to give the dominant a leading tone. In A minor, V is usually E major (with G♯), rather than Em. This is why the harmonic minor scale exists, as we explain in major and minor scales.

Cadences: how phrases end

A cadence is a chord pattern that closes a phrase, just as punctuation closes a sentence:

The four basic cadences in C major
CadenceChordsEffect
Authentic or perfectV – I (G – C)A period: a clear conclusion
PlagalIV – I (F – C)A gentle ending, the “amen” of hymns
Half cadenceEnds on V (… – G)A comma or a question: the phrase stays open
Deceptive or interruptedV – vi (G – Am)A surprise: you expected rest, but get a different color

Common progressions you will recognize

Progressions in C major (and one in A minor)
ProgressionIn CWhere you hear it
I – IV – VC – F – GRock and roll, popular music, “La Bamba”
I – V – vi – IVC – G – Am – F“Let It Be” and countless pop songs
I – vi – IV – VC – Am – F – G“Stand by Me” and fifties ballads
ii – V – IDm7 – G7 – CJazz, bolero, bossa nova
i – VII – VI – VAm – G – F – E“Hit the Road Jack”, flamenco (Andalusian cadence)
12-bar bluesC7 (4) – F7 (2) – C7 (2) – G7 – F7 – C7 (2)Blues, rock, jazz

Notice that almost all follow the same journey: leave the tonic, move through the subdominant, build tension with the dominant and return. To find these chords in any other key, use the circle of fifths; if you play guitar, you can play the first four using basic chords.

How to start analyzing songs

  1. Choose a simple song you know and get its chord chart.
  2. Find the tonic: the chord where the song comes to rest, almost always the last chord and often the first.
  3. Write each chord's Roman numeral according to its place in the tonic's scale.
  4. Label them T, S or D above the chords, and look for cadences at the end of each phrase.
  5. Circle the chords outside the key and look at where they lead: if a major or seventh chord resolves down a fifth, it is probably a secondary dominant, the dominant of another chord.
  6. Play the progression in another key. If you recognize it by its numerals, you understand it.

An example: “Cumpleaños feliz” in C

  • First phrase: moves from C (I) to G (V). It ends on the dominant, leaving the phrase open: a half cadence.
  • Second phrase: moves from G (V) to C (I). It closes with an authentic cadence.
  • Third phrase: C, often turned into C7, leads to F (IV). That C7 is the dominant of F: a secondary dominant.
  • Fourth phrase: passes through G (V) and ends on C (I).

With these tools, you can already read most popular songs. In music theory, piano or guitar lessons, you learn harmony by playing: first with three chords, then with increasingly richer songs.

Frequently asked questions

What is the difference between harmony and a chord?

A chord is a set of notes sounding together. Harmony is the whole system: how chords are built, what functions they serve and how they follow one another throughout a piece.

Can you play music without knowing harmony?

Yes, many people play by ear or from chord charts without knowing theory. But understanding harmony helps you memorize faster, transpose, improvise and learn songs by ear, because you stop seeing isolated chords and start recognizing patterns.

Which instrument is best for learning harmony?

The piano, because you can see all the notes in order and play chords with one hand and melody with the other. Guitar and tiple are also very good for understanding harmony through chords and accompaniment.

What is a secondary dominant?

It is a chord that acts as the dominant of a scale degree other than the tonic. In C major, D major (D7) is the dominant of G, which is why it often appears just before V. It sounds like a small detour that then returns to the key.

Sources

We checked the facts in this article against these sources on October 22, 2026.

  1. Open Music Theory: harmonic functions (tonic, subdominant, and dominant)
  2. Open Music Theory: types of cadences (authentic cadence, half cadence)
  3. teoria.com: harmonic functions (tonic, subdominant, and dominant by scale degree)
  4. Wikipedia: triad (music), the four types and their intervals

Ready to start your lessons?

Tell us what you want to learn and we'll recommend the right teacher, at home in Bogotá or online.