On the basis of kinetic theory of gases, explain, how does a gas exert pressure?

According to kinetic theory the molecules of a gas are in a state of continuous random motion. They collide with one another and also with the walls of the vessel.
Whenever a molecule collides with the wall, it returns with a changed momentum and an equal momentum is transferred to the wall.