Notably these formats are designed to be lossless and very simple to work with programmatically so they were used as the intermediate format in a lot of image processing workflows, even where the inputs and outputs are a more common format like JPG (which is extremely hard to manipulate directly).