The key word is compound. This is not about mixtures — a mixture (like salt stirred into water) can have any proportions. A compound has chemically bonded atoms in whole-number counts.
Let a compound have nA atoms of element A (atomic mass mA) and nB atoms of B (atomic mass mB) per molecule.
mass of Bmass of A=nBmBnAmA
Every term on the right is a constant — nA,nB are fixed small integers, mA,mB are fixed atomic masses. So the ratio is a fixed number. That is the law.
Imagine every "water Lego" is made of exactly 2 red bricks (hydrogen) and 1 blue brick (oxygen) snapped together. You can never make a water Lego with 2.5 red bricks — bricks don't split! So no matter how many water Legos you build, the pile of red bricks vs blue bricks always weighs in the same proportion. That's why water from anywhere is always 8 grams oxygen for each 1 gram hydrogen.
Dekho, Law of Definite Proportions ka matlab simple hai: koi bhi pure compound hamesha apne elements ko ek fixed mass ratio mein rakhta hai — chahe wo compound kahin se bhi aaye ya kaise bhi banaya jaaye. Jaise paani (water) hamesha 8 gram oxygen aur 1 gram hydrogen ke ratio mein hota hai. Rain ka ho, lab ka ho, ya iceberg ka — ratio 8:1 hi rahega. Yeh law Joseph Proust ne 1799 mein diya tha.
Iske peeche ki reason bahut pyaari hai. Har molecule fixed number of atoms se banta hai — water hamesha 2 H aur 1 O. Aadha atom hota hi nahi! Aur har atom ka mass fixed hai. Toh mass ka ratio automatically constant ho jaata hai: mA/mB=nAmAatom/nBmBatom, jismein sab constants hain. Isliye ratio kabhi change nahi hota.
Ek important galti yeh hoti hai ki students sochte hain "zyada oxygen daal do toh water zyada oxygen-rich ho jayega." Nahi! Woh extra oxygen sirf leftover (excess reactant) ban ke padi rahegi — bane hue water molecules toh 8:1 hi rahenge. Aur yaad rakho — yeh law sirf compounds pe lagta hai, mixtures pe nahi (mixture mein ratio kuch bhi ho sakta hai).
Yeh concept क्यों important hai? Kyunki isi se hum chemical formula, percentage composition, aur mole calculations samajhte hain. Jab tum ek sample se ratio nikaal lete ho, to kisi bhi doosre sample ke masses predict kar sakte ho — bina experiment kiye. Exam mein "kitna oxygen chahiye" type questions isi trick se solve hote hain: ratio pakdo, scale karo, ho gaya.