That squiggly line (or small note with a slash) is a grace note—a quick, ornamental note played immediately before the main note. It adds decoration, expressiveness, and a sense of "leaning into" the principal tone.
Grace notes are not counted in the measure's rhythmic total. They're ornaments—like a quick breath before a word. Execution depends on style, tempo, and instrument.
Next time you see that squiggle, don't panic—just add a little decorative flicker.