Both answers are true. Things like basic quantum mechanics helped us better our technology like iPhones. And the second option explains itself. We get to understand the universe better and predict phenomena when we learn more about any Physical Science