Tail fin of the fish performs the function of steering, especially in sharp turns.
Tail fin creates a force pushing the fish forward. Up to 40% of all energy jolt fish gets through the tail.
And even tail fin aligns the forward motion of the fish: thanks to his work the fish thrown from side to side.