It can, depending on settings.
What do you mean "It CAN" ???
that is THE ONE AND ONLY PURPOSE of OCR software- to try to turn an image of text (like a photgraph or a scanned page like newspaper or a printed document) into text you can edit in an editor.
.... depending on settings??? what settings???