Boyle's law describes the relationship between pressure and volume at a constant temperature for a fixed mass.
The relationship between pressure and volume results from the influence volume has on the rate at which gas molecules collide with the container walls.
If the volume decreases - causing pressure to increase - the molecules encounter the container walls more often.
This is true even though the speed (temperature) of the individual molecules has not changed. Conversely, if volume increases, both the rate of collisions and the pressure decreases.
a good real-life example of Boyle's Law could be pumping nutrients into someone's body
Ex: Breathing- During respiration, our lungs make use of Boyle’s law. While inhaling, the lungs are filled with air; therefore, they expand.
The volume increases, hence the pressure level goes down. Similarly, when the lungs are evacuated of air, they shrink therefore, the volume reduces and the pressure increases. The change in pressure and volume is momentary and periodic in nature.
according to the Boyle's Law this is the formula that is used to find solution based around Boyle's Law.