Words are related to sentence as retail stores are related to wholesale stores, perhaps.
Words are parts of a sentence - a sentence needs words in order to feel complete. Similarly, retail stores are connected to wholesale because they get their products from them.