The surfaces of a plane and the fins of a fish have a similar function. They serve to adjust the object's attitude as it moves through the fluid. Submarines face the same dynamic control problems as fish do.