Piperazine ferulate offers an interesting example. One half of the story is ferulic acid. Ferulic acid belongs to a family of phenolic compounds found widely in plants, including cereal grains and plant cell walls.
The other half is piperazine, a simple nitrogen-containing ring that behaves as a base. Put an acid and a base together, and chemistry can create a salt. That sounds almost too simple to matter. But salt formation is one of pharmaceutical chemistry's most useful tools.