Flatten is a function in image-processing programs, such as Adobe Photoshop, to combine multiple layers into one file.
For example, in order to move the file to another program or save it as a GIF or JPEG, you will have to use the flatten function to combine all layers into one.