Syncope is the medical term for temporary loss of consciousness or fainting. It occurs when there's a sudden decrease in blood flow to the brain, often caused by a drop in blood pressure, dehydration, or standing up too quickly (orthostatic hypotension). Vasovagal syncope is the most common type, triggered by emotional stress or pain.