Gas particles gain more energy when temperature increases, hence they move faster and the frequency of collision between gas particles and the wall of container increases.
When the volume of gas is decreased or the gas is compressed, the space between gas particles reduces or the number of gas particles per unit volume increases, resulting in an increase in pressure.
When gas is heated, temperature increases and gas particles gain more energy, causing the volume to increase and the number of gas particles per unit volume to decrease, resulting in no change in pressure.
When the temperature of gas is constant, the overall constant capital k equals pv and therefore p equals k over v, indicating that pressure of gas is inversely proportional to the volume.
In a brownian motion experiment, a glass cell with a lid is used to trap smoke particles, which are observed to move in a zigzag manner due to the random motion of air molecules.