The air sensor should be in the air intake tube somewhere between the throttle body and air cleaner.
IAC valve is the Idle Air Control motor. It opens and closes a passage to allow more air into the incoming idle mixture. If it's not functioning or carboned up, the extra air can not get into the mixture allowing the car to idle low and rich.