Does Air Purifier and Air Freshener work together?

Ok, this may be a silly question, but if an air purifier is supposed to remove “odors,” would it just eliminate all the smell from the air freshener?
Does it make sense to use them in the same room?