Meter and meaning in sentences
Understanding these stress patterns for each word is important, because you want to use those patterns to make the flow you write sound natural, and convey the meaning you want.
As an example, start with a sentence that might end up in a rap verse:
I'm gonna win this battle 'cause you can't rap
You can write it out and annotate which syllables are stressed:
X . . X . X . . X . X
I'M gonna WIN this BATtle 'cause YOU can't RAP
Say the sentence above, really emphasising the syllables marked as X.
Note that the stress pattern is not certain in written language until you speak it.
Changing the stress pattern can dramatically change the meaning, for instance
. X . . X . . . . X .
I'm GONna win THIS battle 'cause you CAN'T rap
Suddenly the meaning shifts to something like "I know I've lost before, but I will win this one, because you aren't as good as you seem". It sounds a bit desperate.
This example shows how stress patterns are critical to communicating the meaning you're trying to get across.
The trick with rap is simultaneously making the stress patterns communicate the message you're trying to convey, AND making those stress patterns line up up well with the beat rhythmically. If you can nail both of those aspects, then you can rap.