ELISA is a technique used to detect antibodies or antigens in a sample. It works by first adding antigens to wells which antibodies then bind to. Secondary antibodies with an enzyme are then added, and if the antigens and primary antibodies are present, the enzyme causes a color change reaction. This process allows ELISA to be used to test for conditions like HIV in patients by simulating the immune response in a lab setting.