In Greek mythology, the god of war is Ares.
He represents the more brutal and violent side of warfare. If you are looking for the Roman equivalent, that would be Mars, who was also associated with military power.