A hallucination occurs when environmental, emotional, or physical factors such as stress, medication, extreme fatigue, or mental illness cause the mechanism within the brain that helps to distinguish conscious perceptions from internal, memory-based perceptions to misfire. As a result, hallucinations occur during periods of consciousness. They can appear in the form of visions, voices or sounds, tactile feelings (known as haptic hallucinations), smells, or tastes.