/execute help

I know how to like summon tnt on snowballs and stuff but my problems that it works on every snowball can someone help.

(only on commands if possible , I know ㅣ suck at English I'm not native...)