An implantable loop recorder is a small device inserted under the skin of the chest to continuously monitor heart rhythms over a long period. It helps detect irregular heartbeats that may not appear during short-term tests and is commonly used to investigate unexplained fainting or arrhythmias.