The smallest unit used in describing the writing system of any given language, originally coined by analogy with the phoneme of spoken languages. A grapheme may or may not carry meaning by itself, and may or may not correspond to a single phoneme.
Source: semasiography
Definition from Wikipedia