CALT functions by detecting antigens that enter the eye and initiating an immune response. When an antigen is detected, dendritic cells and macrophages present the antigen to T cells and B cells, triggering their activation and proliferation. This process leads to the production of antibodies and the recruitment of additional immune cells to the site of infection, helping to eliminate the pathogen.