At it’s simplest, an image is a grid of rectangles (or squares) known as pixels, each assigned a number. This number can represent any colour. Have a significantly large amount of these pixels to produce digital photography (and other images).
Alternatively an image may be made from a language describing lines, curves and fill colours. A large enough set of instructions can produce illustrations, logos and technical diagrams.