By measuring a gas's density at known temperature and pressure, we can determine its molar mass using the Ideal Gas Law. This method is particularly useful for identifying unknown gases, such as those found in volcanic vents, deep-sea vents, or in industrial gas leaks. The calculation relies on the relationship derived from PV = nRT, where n = mass / M, leading to M = dRT/P