Please remove all of the grammar errors from this text
There are different dangers of a military nature such as terrorist attacks, wars and other armed conflicts.
There are different dangers of a military nature, such as terrorist attacks, wars, and other armed conflicts.