Homophones are words that sound alike, may have the same spelling, but differ in meaning.
Desert means arid or barren region, wasteland, abandon, leave, quit, etc.
Dessert means sweet course at the end of a meal.
The Sahara Desert is in Africa.
He deserted his family and went abroad.
We had ice cream for dessert.