All air contains moisture. As the air is compressed, the moisture will also be compressed. As you compress the air/moisture, it heats up. Hot air retains moisture remaining a vapor.