Pus formation is a result of the body's immune response to infection, consisting of dead white blood cells, bacteria, and tissue debris. It indicates the presence of an infection and is often found in abscesses or as part of the inflammatory process in various tissues.