The pixel format of a surface defines how it's color information is stored. For example: whether it uses a palette, what bit depth is used, etc.