What compound is responsible for the antipyretic or analgesic activites in medicinal plants?

Are flavanoids the major component?