It is also possible to move substances across membranes against their concentration gradient (from areas of low concentration to areas of high concentration). ... If the energy of ATP is directly used to pump molecules against their concentration gradient, the transport is called primary active transport.
Hope this helps