Cells have sensors on their surface and within their cytoplasm that recognize toxic agents. These sensors include receptors and ion channels that can interact with foreign molecules. Once a toxic agent is detected, these sensors trigger signaling pathways that activate a cellular response.