A code smell is an easy-to-recognise characteristic of a section of code that is a reliable indicator that the code is probably somewhat defective.  There are entire books on code smells, but an easy to recognise smell are duplicated sections of code.