Everything was created as a means to know G‑d.

Every discovery we have ever made, each of our inventions, was planted here in the six days of creation in order that we utilize it for a G‑dly purpose.

Likutei Sichot, vol. 15, Noach 2.