A character is an idea; a glyph is one way of drawing it.
Character and Glyph
A character is an abstract unit of text: the letter "a," the digit "7," the question mark. A glyph is a specific drawn shape in a specific font. One character can have many glyphs (a roman a, an italic a, a small cap, a swash), and one glyph can stand for several characters, as a Ligature1 does. Unicode encodes characters; fonts supply glyphs; the shaping engine maps one to the other.
Sorts
In metal type, each glyph was a physical piece called a sort, and a complete set of sorts in one size and style was a fount (the origin of the word font). Running out of a letter mid-job left the compositor "out of sorts." Johannes Gutenberg's Bible type needed hundreds of sorts, including many abbreviations and ligatures, to imitate the even texture of a scribe's Blackletter.2
Modern Fonts
An OpenType font can hold up to 65,535 glyphs, and serious text families include alternate Figures, Small Caps, ligatures, and extended alphabets for many languages, all reached through OpenType Features. Every glyph is drawn on the em square (see Em and En) as outlines, either quadratic curves (TrueType) or cubic curves (PostScript and CFF), and on screens those outlines are rasterized and sometimes hinted (see Screen Typography and Hinting).
In Practice
The distinction matters any time text is processed rather than looked at. Search, copy and paste, and screen readers all see characters, which is why ligatures and alternates should come from font features, not from typing look-alike symbols.