Disclosed herein is a multi-functional microfluidics device capable of isolation of nucleic acids, purification of nucleic acids, performance of Polymerase Chain Reactions (PCRs), in situ hybridization of nucleic acids, fluorescent signal detections and the like. The apparatus comprises an integration of a plurality of reagent chambers, a sample input, a reaction chamber, a detection chamber, and a waste chamber; wherein the plurality of reagent chambers is fluidly connected to the reaction chamber, and is configured to store a plurality of reagents; wherein the sample input is fluidly connected to the reaction chamber, and is configured to receive a sample; wherein the waste chamber is fluidly connect to the reaction chamber and is configured to receive a reaction waste from the reaction chamber.