Rolapitant is a medication used to prevent nausea and vomiting caused by cancer chemotherapy. It belongs to a class of drugs known as NK1 receptor antagonists. These drugs work by blocking the action of substance P, a chemical in the brain that triggers nausea and vomiting.