The air flow meter is used to determine the airflow that is being delivered to your engine. The air mass meter does this by sending an electronic signal to the cars computer, and thus sends the correct signal to the fuel injectors that regulate the amount of fuel that is delivered to the engine.

