Every gas thinks it is alone
Ideal gas molecules ignore each other. Put two gases in one vessel and each behaves exactly as if it owned the place, so the pressures simply add — that is Dalton's law of partial pressures. The practical form is , read aloud P-sub-i equals x-sub-i times P-total. The subscript means “whichever component you are asking about”: is that component's partial pressure in kPa, is what the gauge on the vessel reads, and is that component's mole fraction.
The mole fraction is built first: , where is the amount of the component you want in moles and is the amount of everything else. Subscripts 1 and 2 here name the two COMPONENTS, not a before and an after — this is the one place in the chapter where they do. Moles over moles, so carries no unit at all, sits between 0 and 1, and all the mole fractions in a mixture add to exactly 1. That nakedness is what lets it multiply a pressure and hand the kilopascals straight back.
Read it backwards and it is a measurement: a probe reporting a partial pressure is reporting a composition. That is how a blood-gas analyser and a stack monitor both earn their keep — and why dry air's 21 % oxygen shows up as about 21 kPa of the 101 kPa pressing on you right now.