There are two types of accents in spanish :
1. Ñ- tilde mark (used only on N in spanish )
Reason of use : to give a 'nya' sound to N.
This is also an extra alphabet in spanish.
2. á é í ó ú - this accent is only used on vowels ( by thiswe do not mean on every single vowel but if we use it we can only use them on vowels )
REASON OF USE : 1. to stress on a word .(eg. Día - da (pronounciation will have a stress on I because of the accent )
2. The words which have accents also change their meanings sometimes :
eg. EL- THE
ÉL- HE