Apparatus for detecting fluids