The fire ships were a tactic to confuse and disrupt the enemies crews!
Usually they were either captured ships or obsolete ships. The navy utilizing this tactic would light fires on the decks of said ships,then tow them in close to the enemy. When they were close enough the fire ship would be cut loose and the momentum would carry them into the enemy.