One's view of a situation determines whether an event is experienced as stressful or not. Stress is the consequence of an individual's appraisal of an event, which involves a two-part process - primary and secondary appraisal. During primary appraisal, an event is categorized as irrelevant, beneficial, or stressful. During secondary appraisal, the individual evaluates their coping resources and options. Stress only occurs when the transaction is appraised as relevant to one's well-being and there is a perceived mismatch between demands and ability to cope. The way an event is appraised influences the physiological and emotional response to stress.