A man slips on an oily floor; he wants to move out of this area. He is alone. He throws his bag to move out of this slippery area. Why is it so?

When he throws the bag, an equal and opposite reaction force pushes him in the opposite direction, helping him move out of the slippery area. This is an application of Newton’s third law of motion.