The iPhone comes with a bunch of sensors built-in that it relies on to serve you. Thanks to apps such as phyphox, you will be able to use those sensors to conduct experiments. The app supports accelerometer, magnetometer, gyroscope, pressure sensor, GPS, and microphone. It allows you to control your experiments through a web interface.
You get a selection of pre-defined experiments to get started fast. Users can define their own experiments by selecting sensor inputs and defining analysis steps. Data can be exported to Excel.
[where to find it]