why do we park in the driveway and drive on the parkways?

why are they called apart-ments when they are stuck together?