When a sound wave passes through a gas column, no heat is exchanged between the wave and the gaseous constituents. Using the continuity equation of fluid mechanics, Newton's second law of motion, the definition of density, and the equations from thermodynamics, the speed of sound in a gas can be deduced. It depends on the composition of the gas and its temperature. The speed of sound through any gas can be numerically estimated by substituting its known properties in the equation relating the quantities. At a temperature of 0° C, the speed of sound in air is 331 meters per second. At the same temperature, it is 259 meters per second in carbon dioxide and 1254 meters per second in hydrogen gas. The speed of sound in air is independent of the frequency of the propagating sound wave. Hence, a band of musicians playing instruments at different pitches appears in perfect sync.