Iambic pentameter is a line of writing that consists of ten syllables in a specific pattern of an unstressed syllable followed by a stressed syllable, or a short syllable followed by a long syllable. For example 'Shall I compare thee to a summer's day? ' from Shakespeare's sonnet 18.