The present invention relates to a refrigerator comprising on or more cooler or freezer compartments in which food products are placed, a door enabling access to the compartment, and an odor removal device enabling cleaning the air emanating from the food products to the environment in the compartment and forming odor comprising: an UV light source provided in a housing, a fan, a photocatalytic filter and a plurality of openings provided on the housing, enabling passing the air received from interior of the compartment and delivered into the compartment by the fan, and a control unit operating the odor removal device in subsequent on-off periods according to a predetermined algorithm.