Varenicline is a prescription medication used to help people quit smoking that works by targeting nicotine receptors in the brain to help reduce the pleasurable effects of smoking and ease withdrawal symptoms, making it easier for individuals to stop smoking as part of a broader smoking cessation plan that includes counseling and support.