Working principle of air pump