However, it could also be due to pinched nerve
in the neck.
The passing out could be due to vasovagal attack.
The complex group of symptoms is mediated by the vagus nerve. This nerve is irritated by prolonged standing, standing up suddenly, stress, pain, hunger, dehydration, intense emotion etc. It can happen post exercise too. A tilt table test, holter monitor (wear this while exercising too), echocardiogram etc are done for confirmed diagnosis. Discuss this with your doctor. Take care!