Compression is the procedure that indicates compressing original files because of memory space saving. Best known photo format for compression is JPEG which gives pretty good results, because with large saving of space there isn't significant loss in photography quality. Basically as the compression level gets higher, the photography quality gets lower, therefor (too much) compression should be avoided.

JPEG photography with small compression

JPEG photography with big compression