Photography was not invented to serve a clearly understood function. There was in fact widespread uncertainty, even among its inventors, as to what it might be good for.
Pure photography is a system of picture-making that describes more or less faithfully what might be seen through a rectangular frame from a particular vantage point at a given moment.