Science actually lays the basis for technology because of it's pragmatic nature. Science completely relies on a rigorous process of deduction and detached sympathetic reasoning of the universe and it's phenomena. This practical approach leads to predictable results which can be observed and confirmed through practical approaches. Given the fact that Science does not entertain superstition or any supernatural creed, it enjoys a position which allows it's practitioners to come up with viable ideas which can be used to create ingenious technological inventions. For example the light bulb's invention only followed the discovery of electricity. All inventions are based on scientific discoveries.