House
A big building with many levels and apartments is called "a block of flats" (British) or an apartment building. One of the differences between a house and an apartment is that a house has a front door to the outside world, whereas the main door of an apartment usually opens onto a passage or landing that can be used by other people in the building.