Agonal breathing is the medical term used to describe struggling to breathe or gasping. It is often a symptom of a severe medical emergency, such as stroke or cardiac arrest. The gasping associated with agonal breathing is not true breathing, but rather a brainstem reflex.