The present invention relates an optical sensor. In particular, the present invention relates to an optical sensor for detecting chemical components in a fluid.