A protein called a pump uses energy to move solutes up a concentration gradient across a membrane.
A proton pump uses the energy of ATP molecules to move H+ ions (protons) into the stomach to keep its pH acidic.