What is the difference between Hotel and Restaurant?

Update: Thanks to you all! You all told that the difference is of staying. But I have seen some hotels, which do not provide accommodation to stay. They only supplied food. But the board on it shows it is a hotel.
Update 2: Doesn't my question sound interesting? If so, star it.
30 answers 30