Then strum the whole chord quickly so you can hear what it sounds like. Kind of wild isn’t it? That sound is called dissonance.
It will make more sense when you play it in context of the chord progression. That’s because chords with dissonance sound better when you resolve the dissonance to the next chord.