Why do people get put on bed rest?

Just curious as I've seen pregnant people post about it! Not sure if we do that here in the uk? Never heard of it? What are the reasons and why?! H