If there is a problem on-board and the crew is unsure about the condition of the aircraft, the triangle indicates what window should be used to inspect flaps, slats or engines or look out for icing. This saves important time in case of an emergency, as the crew doesn't has to search the right window to look out.