Device for driving air or liquid