This infographic by Survival Mastery on the anatomy of anxiety explains what triggers it and how the body responds. Th human brain is obviously very complex, but this simplifies what happens when your senses pick up a threat:
Source: Survival Mastery