A mat inside of the frame gives the frame a finished look. It also helps to preserve the photo by encouraging airflow, which reduces moisture buildup. The mat also creates a buffer between the glass and the art or picture. This prevents the image from sticking to the glass and potentially damaging it.