For example, someone getting ready for heavy squats might use body weight squats, hip/ankle movements, and progressively heavier warm-up sets. Before an upper-body session, some light shoulder movement and easier pressing or pulling sets can make more sense.
The key is finding a routine that gets you moving, focused, and ready for the actual workout without tiring you out before the hard sets.
How much time do you usually spend warming up before you lift?