Fainting is a brief loss of consciousness caused by a temporary reduction in the flow of blood to the brain. There are a variety of different causes, including panic attacks, low blood sugar, standing for long periods of time, intense or acute pain, fear, extensive coughing, heat and pregnancy.