Code requires a stand under a water heater when it is in a garage where it is possible to park a car. The pilot flame must be at least 18 inches off the floor. This prevents gas fumes from reaching the pilot flame. Sides are required to prevent people from putting gas cans under the water heater.