Any process, occuring in a cell, that localizes a substance or cellular component. This may occur via movement, tethering or selective degradation.