The weather app maps the weather of the world using smart phones. When a user downloads the app, it starts collecting information from your smart phone's passive sensors like barometer, accelerometer, gyroscope, battery temperature, magnetic flux etc. It then measures quantities like temperature and pressure.