How does the dorsal fin on a dolphin work?

the dorsal fin on a dorsal fin helps the dolphin not to roll when turning