Computer forensics relates to identifying digital evidence from computer systems, securing and preserving that evidence, analyzing it, and documenting findings. It serves both public and private sectors to provide evidence and prevent criminal computer activity. The process involves identifying sources of digital evidence, preserving it from loss or corruption, analyzing the evidence, and presenting it in legal contexts.