These drugs primarily act by inhibiting serotonin receptors, particularly the 5-HT3 receptor subtype. By blocking these receptors, serotonin antagonists can prevent the neurotransmitter from exerting its effects on the gastrointestinal tract and the central nervous system. This mechanism is particularly useful in preventing chemotherapy-induced nausea and vomiting.