The entryway is an opening or passage providing entry into a building, whereas a foyer is a lobby, corridor, or waiting area used in a hotel, theatre, or other structure.