The two are related and are very intertwined in our modern world, but they are also distinct in terms of their goals. The goal of science is to understand the natural world, hence the highest aim is to create theories (a theory explains). The goal of technology is to solve problems, hence the aim is to create solutions. I hope this helps.
Science and technology are closely related to each other as both playing a vital role in our lives. To understand the differences between them, one has to understand the basic underlying concepts of science and technology on which they are based and evolved. Science refers to development of some hypotheses. Then the hypothesis is conducted under controlled experimentation, then the observations and findings are analyzed and results are drawn leading the experiment to some conclusion. On the other hand technology is related with designing and developing a solution that solves a problem and creates a product, process or environment that is implemented in real life.