There are specific portable compressors you can use with your car battery. These are usually 12V units compatible with a DC power source. But, you’ll only get as much power as the battery can last, so don’t expect miracles.
When you attach an air compressor to a car battery, you can inflate your beachball, camping air mattress, bike tires, and even some car tires.