Aspirin is in a group of drugs called salicylates. It works by reducing substances in the body that cause pain, fever, and inflammation. Aspirin is used to treat mild to moderate pain, and also to reduce fever or inflammation. It is sometimes used to treat or prevent heart attacks, strokes, and angina. Aspirin should be used for cardiovascular conditions only under the supervision of a doctor.