A worrying, deadly ocean battle

What were fanciful fisherman’s tales narrating death-matches between swordfish and sharks have been proven as strategic combats. Are they fighting just for defense or are they taking out an ecological rival?