Polyphony: Multiple independent melodies simultaneously. Each voice has its own rhythm/contour. Interweave contrapuntally. Examples: Bach fugues, Palestrina motets, jazz improvisation.
Homophony: One clear melody + chordal accompaniment. All voices move rhythmically together (homorhythmic) or chords support melody. Examples: hymns, pop songs, Schubert lieder, most rock.
Key difference: Independence vs. hierarchy of lines. Polyphony = democracy of melodies; Homophony = melody + support.
Also: Monophony (single line, no harmony) – Gregorian chant.