Histological patterns are often used in diagnosing diseases. For example, the pattern of cell growth and organization in a biopsy can help distinguish between benign and malignant tumors. Inflammatory patterns can identify autoimmune diseases, and certain staining patterns can indicate the presence of infectious agents.