Both come from Camellia sinensis. Green tea leaves are heated soon after picking to halt oxidation, which preserves their catechins and green color, while black tea is fully oxidized. That processing difference accounts for the lighter flavor and different compound profile.
Matcha is shade-grown leaf stone-ground into powder, so it is whisked into water and consumed whole rather than steeped and strained. Because you drink the whole leaf, matcha delivers more of the leaf's compounds, including caffeine, per cup.
Loose leaf uses larger, less broken leaves that have room to expand, which most people find gives a fuller flavor. Bags are portioned and quicker, and pyramid or sachet styles hold larger leaf pieces than flat paper bags.
Green tea contains caffeine, generally less than coffee, with matcha at the higher end because the whole leaf is consumed. Decaffeinated green tea is available for anyone limiting intake, and it retains the tea flavor.
Water below boiling and a short steep are the usual guidance, since very hot water and long steeping draw out more bitterness. Matcha is whisked into hot water rather than steeped at all.