a microfluidic device , for analysis , comprising : a chip comprising a cavity ; a light emitting diode or a laser which emits a first electromagnetic radiation for heating a sample placed in the cavity in use ; and an analytical assembly configured to record a change in the sample arising from an interaction of the sample with the first source of electromagnetic radiation .