The words oak, oke sound the same but have different meanings and spellings. Why do oak, oke sound the same even though they are completely different words?
The answer is simple: oak, oke are homophones of the English language.
Any of numerous monoecious deciduous or evergreen trees or shrubs of the genus Quercus, bearing acorns as fruit.
The durable wood of any of these trees or shrubs.
Something made of this wood.
Any of various similar trees or shrubs, such as the poison oak.
A Turkish, Egyptian, Hungarian and Wallachian unit of weight, equal to about 2 & 3/4 lbs.
man; guy; bloke
Definitions from The American Heritage® Dictionary of the English Language, 4th Edition, from Wiktionary, Creative Commons Attribution/Share-Alike License and Wordnik.
Homophones (literally "same sound") are usually defined as words that share the same pronunciation, regardless of how they are spelled.
If they are spelled the same then they are also homographs (and homonyms); if they are spelled differently then they are also heterographs (literally "different writing").