Answer
People use aerosol cans every day. Aerosol cans can force out the paint because it has compressed gas. The pressure itself is very high in the can. So when you point the nozzle open, the pressure forces the gas and paint out at the same time. Letting you paint.
As the paint is sprayed it makes room for the gas in the can. When there is more room the gas will expand (uncompress). As it does it relieves itself of more and more pressure. So basically, the more paint that is sprayed out, the less the pressure in the can and the gas will be able to expand.
Work Step by Step
People use aerosol cans every day. Aerosol cans can force out the paint because it has compressed gas. The pressure itself is very high in the can. So when you point the nozzle open, the pressure forces the gas and paint out at the same time. Letting you paint.
As the paint is sprayed it makes room for the gas in the can. When there is more room the gas will expand (uncompress). As it does it relieves itself of more and more pressure. So basically, the more paint that is sprayed out, the less the pressure in the can and the gas will be able to expand.