An electronic fetal monitor (EFM) is a device used to track the heart rate of a fetus and the contractions of the uterus during pregnancy and labor. This monitoring helps healthcare providers assess the well-being of the fetus and make decisions regarding the management of labor and delivery.