This is known as active transport and ATP supplies the energy currency. This type of transport involves cell organelles known as vesicles. In vesicular transport, vesicles allow large molecules to exit the cell because the vesicle fuses with the plasma membrane and its contents spill out. This is called exocytosis.
Hope this helps