The word ‘spell’ falls under the grammatical category of homonyms; described as words bearing the same spellings and pronunciation, but different meanings. Examples of homonyms include ...
Homonyms are words that are pronounced and spelt the same way but have different meanings. Like the word, ‘wear’. You can wear a shirt and a shirt can wear out. Another example is ‘change’.