gtk64 wrote:
Will leaving my MacBook charger plugged in into my MacBook air ruin the battery life?
Yes, if you were to leave it connected literally all the time.
MacBook batteries need to be used, so be sure to use it at least occasionally. Once a week, perhaps, at a minimum. If you plan on keeping your Mac for a long time (and who doesn't) it's likely you will need to replace it once, but only once. That's been my experience. It's just as likely that event will occur shortly before Apple decides to render it "vintage" and no longer eligible for service from an Apple retail store. If and when that happens other options will remain available.
Budget about 50¢ a week for battery depreciation and you'll have more than enough to have Apple replace it, when required.
Read About Mac notebook batteries - Apple Support.
Does that mean that the MacBook is taking the power directly from the charger or is the charger charging battery then taking the power from there?
The latter. A portable Mac always draws its power from its battery.