Oxygen is a diatomic gas and hence has 5 degree of freedom 3 translational and 2 rotational. As t e eat is given to oxygen $C_v$ increases rom $ \frac{ 5 R}{2} \, to \, \frac{ 7 R}{2} $ Hence, internal energy ( $\triangle U = n C_v \triangle T)$ increases. With the increase in internal energy the atoms within the molecule may also vibrate with respect to each other. In such case the molecule will have an additional degree of freedom due to vibrational motion.
Gases consist of particles in constant, random motion. They continue in a straight line until they collide with each other or the walls of their container.
Particles are point masses with no volume. The particles are so small compared to the space between them, that we do not consider their size in ideal gases.
Gas pressure is due to the molecules colliding with the walls of the container. All of these collisions are perfectly elastic, meaning that there is no change in energy of either the particles or the wall upon collision. No energy is lost or gained from collisions. The time it takes to collide is negligible compared with the time between collisions.
The kinetic energy of a gas is a measure of its Kelvin temperature. Individual gas molecules have different speeds, but the temperature and kinetic energy of the gas refer to the average of these speeds.
The average kinetic energy of a gas particle is directly proportional to the temperature. An increase in temperature increases the speed in which the gas molecules move.
All gases at a given temperature have the same average kinetic energy.
Lighter gas molecules move faster than heavier molecules.