Do you mean why "restaurant" is the same in Swedish and English (but with different spellings)? Many words exist in multiple languages. Loans are everywhere, and the closer two languages are to each other, the more loans you'll find. English and Swedish are pretty close, so we have loads of these. In the case of "restaurant", both languages got it from French.