In Latin, quid pro quo literally means “something for something” or “one thing for another.” The expression was notably used in the Middle Ages by apothecaries who were figuring out what substances may be substituted for another ( quid pro quo ) in medicines.