The purpose of the End Price Gouging for Medications Act is to control the prices of prescription drugs within federal health programs. It aims to ensure that the retail prices of these drugs do not exceed a set reference price, which is determined by the Secretary of Health and Human Services. This legislation seeks to make medications more affordable for individuals relying on federal health programs. Key provisions of the Act include the establishment of annual reference prices for each prescription drug.