The core function of a modem is to enable digital devices to communicate over analog communication channels by translating signals between digital and analog formats.