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.

can you rewrite this like a 12 year old but keep it formal

In these examples, the tire is a necessary part of the bicycle, and the window is a necessary part of the house. Just like how a bicycle needs tires to ride, a house needs windows for light and air.