In GSM (Global System for Mobile Communications), AT commands interact with GSM modems to control various functions, such as making calls, sending texts, and setting network parameters.