Harmonic notes are in the chord, so they feel resolved. Non-harmonic notes are not in the chord, so they feel tense. Balance these two types of notes in your melodies, and your listeners will be thrilled and fulfilled. Have fun!
Ray & Kate :)
PS: This hack is from the Melody Checklist in: Songwriting & Producing PDF