How can I eliminate strong odors from rooms?

I'VE FOUND THAT FRESH COFFEE GROUNDS WORK VERY WELL...SPRINKLY ON THE FLOOR, VAC THE NEXT DAY...ODORS WILL BE GONE AND YOUR ROOM WILL NOT SMELL LIKE A COFFEE POT EITHER...IT LEAVES A FRESH SMELL...