The task of the mass air flow sensor is to continually measure the airmass consumed by the engine during operation.