If I remember right, that's an air brake, where it disrupts the flow of air over the side of the plane. If you will, that flap slows one half of the plane down while the other wants to keep going at it's previous speed so it helps the plane turn a bit better, and if both deploy, it aids in stopping or slowing the plane.