They are considered to be primary source documents that are useful in the study of history.
That is because of their objectivity. They just show what happened or who did something or how someone looked. There's no bias and no subjectivity and no analysis, just a photo of something and historians use photos as evidence. It is something like a more advanced version of the "pictures or it didn't happen" joke.