Cacosmia is a condition where a person perceives foul or unpleasant odors that are not actually present in the environment. This is a disorder of smell perception that can result from nasal, neurological, or psychological factors.