In both pairs, the first object (tire, window) is a component or part of the second object (bicycle, house). Just as a bicycle needs tires to function properly, a house needs windows for light and ventilation.
shorter
Both the tire and the window are essential components of their respective objects, the bicycle and the house.