A burglar who climbs through a window leaves fibres on the frame and carries glass dust away on his sleeve. Edmond Locard, a French pioneer of forensic science, gave this idea its name. Locard's exchange principle says that whenever two objects come into contact, material passes between them.
On a computer the exchange is of data rather than dust. An intruder who signs in leaves an entry in a log. A program that runs leaves traces in memory and on the disk. A file copied to a memory stick leaves a record of the stick being connected. The intruder's own computer keeps traces of the target, too.
Two consequences follow for an investigator. Traces almost always exist, so they are worth looking for. And the investigator also leaves traces: every command typed, every file opened and every program run on the suspect system changes it. Careless handling therefore destroys evidence and can also plant new data that the other side will call contamination.
Evidence is anything that tends to prove or disprove a fact in question. Digital evidence is evidence held in electronic form: files, logs, messages, the contents of memory.