In psychology, what term describes a sudden onset of intense fear or discomfort, accompanied by physical symptoms such as rapid heartbeat, shortness of breath, and sweating?
A. Anxiety disorder
B. Panic attack
C. Bipolar disorder
D. Obsessive-compulsive disorder