Hi Smara,
“To long for” is different than “to wish for” because if you long for something, you have a very deep, strong desire for it, and you probably won’t get it. Usually you long for a place that is far away, or for a person that is unattainable. To long for something usually means you’re not going to get it, you’re just going to want it, unfulfilled.
You can say “long for [NOUN]”... examples:
-- She longs for her true love who was lost at sea.
-- I long for the taste of my grandmother’s pancakes (but I will never taste them again).
-- He longed for an adventure to let him escape his data entry job.
You can say “long [infinitive VERB]”... examples:
-- She longs to be part of her brother’s rock band.
-- He longed to be at sea, away from the troubles on land.
-- She longed to escape loneliness by having a large family.
If you ask someone “what do you wish for?” they will probably give you a smile and answer a list of things that they want and will probably eventually receive.
If you ask someone “what do you long for?” they will probably give you a sad look and answer a list of things they want but will never have.