Mainly because the UK's parliament is Westminster-based, the House of Lords are appointed (not elected) for life, and it's there to act as a check against the House of Commons (who are elected) so no majority gov't could just pass any laws, etc that they want.
Canada's gov't is the same (except we call it the Senate vs House of Lords instead).