Cell membrane spends energy in:
Movement of solute from lower to higher concentration
Movement of solute from lower to higher concentration means that the movement is happening against the concentration gradient. Thus, it needs energy in the form of ATP and is known as active transport.