What does it mean for MPs to ‘lose the whip’ in Parliament?

What does it mean for MPs to ‘lose the whip’ in Parliament?