Denotation and connotations

Why is it that sometimes when we select a word to use, we must not only consider its denotation but also its connotations? Give an example.