Examples of active transport
Sometimes a cell has to work and use some energy to maintain a proper balance of proteins or calcium. They are worked against a concentration gradient.
In plants, root hair cells use active transport (requiring energy) to absorb minerals from the soil, even though there are lower concentrations of mineral in the soil than there are in the root hair cell.