The Solar and Heliospheric Observatory has recorded the destruction of a comet as it encounters the sun.