Okay, imagine you and your friends are playing hide-and-seek, and one of your friends hides so well that no one can find them. You decide to ask your mom to help you find your friend. So your mom goes and tells your friend to come out of their hiding place so you can all continue playing. That's essentially what habeas corpus means.
In the grown-up world, if someone gets arrested and put in jail, their family and friends might get worried about them. They might not know where they are or if they're okay. So, the government made a rule that says anyone who is arrested has the right to go to court and have a judge decide if their arrest was fair or not. This rule is called habeas corpus.
Now think of Parliament like a big group of grownups who make decisions for everyone in the country. They make laws and rules that everyone has to follow. And one of the laws they made was about habeas corpus. They said that nobody can be put in jail without a really good reason, and they can always ask a judge to make sure their arrest was fair.
So, if the government decides to arrest someone, they have to follow the rules that Parliament made. They can't just throw someone in jail without a good reason, and they have to let them go to court to prove their innocence. This is important because it protects people from being punished unfairly.