Why does the fuel of a space rocket necessarily consist of two components, such as hydrogen and oxygen, while the fuel

Why does the fuel of a space rocket necessarily consist of two components, such as hydrogen and oxygen, while the fuel of a jet plane is one component (kerosene)?

In engines operating on Earth, atmospheric oxygen is a fuel oxidizer. In a space rocket operating under vacuum, the fuel must be made up of two components: a fuel and an oxidizer.

Remember: The process of learning a person lasts a lifetime. The value of the same knowledge for different people may be different, it is determined by their individual characteristics and needs. Therefore, knowledge is always needed at any age and position.