The timbre is a very important thing in music. The sound wave is recieved by our earls like electrical impulses that comes to your brain. So if the timbre creates sound wave that can be perceived by our brain, we hear music like it should be. That's whe the timbpe is the main characteristic in music.
The purpose of having flags on the stems of the notes is, this indicates that f<span>or each flag, the note's value is cut smaller by half. The more flags a note has, the shorter its length is. This has also the same purpose with beams. Notes smaller than quarter notes have flags or beams. Hope this answer helps.</span>