A kingdom is the most common type of monarchy. This means that the ruler or head of state) of the country is a king. They get their position from inheritance. With some countries a female may become head of state as a queen.
When the current king or queen dies, then their eldest child becomes the new monarch.