What does an activated Carbon do in an air purifier?

An activated carbon absorbs odor and smoke present in the room.