Disclosed is a gas filtering apparatus positioned in a closed environment for reducing odor from gases using compost mass. The gas filtering apparatus includes a first compartment, a second compartment and a layer. The first compartment is having an inlet for receiving gases and a perforated top surface. The first compartment allows the gases to move upwards through the perforated top surface. The second compartment is positioned on top of the first compartment. The second compartment includes a top section with an opening and an open bottom section. The second compartment stores organic compost for treating the received gases from the perforated top surface of the first compartment. The treated gas is released in the atmosphere through the opening. The layer is configured to attach to the open bottom section of the second compartment. The layer is configured to hold the compost mass in the second compartment. Further, the layer is allows the gases to pass from the perforated top surface of the first compartment to the second compartment.