Why a gas exerts pressure on the walls?

why a gas exerts pressure on the walls of a closed vessel and how the pressure changes when the volume of vessel increases?
5 answers 5