What is the Definition of Forensics?

If you have ever seen the popular show CSI then you already know what forensics is. Forensics is the science of gathering evidence that is relevant to a crime which can then be used in a legal proceeding.