An analyte is the chemical component or specified property targeted by an analytical measurement. It is defined by the measurement question, not simply by being present in a sample.
For example, awater sample can contain many ions while chloride is the analyte in a particular test. The rest of the sample forms the matrix, whose interactions can change the response and interfere with identification or quantification.