In 1971, scientists, including John Robert Vane and Priscilla Piper, began to understand how aspirin worked as an anti-inflammatory agent, leading to the discovery of nonsteroidal anti-inflammatory drugs (NSAIDs). Their research identified prostaglandins and their role in causing various effects in the body.