Complex sentence: Cats have been carried on ships for a number of reasons, the most important being that mice and rats, which would inevitably find their way aboard a ship, could cause considerable damage to ropes and woodwork.
Split into simpler sentences: Cats have been carried on ships for a number of reasons, the most important being to catch mice and rats. These rodents, when aboard, could cause considerable damage to ropes and woodwork.