How do I take a screenshot on my iPhone?

I’m trying to capture something on my iPhone screen but not sure what the correct button combination is, especially since there are different models with and without a Home button. I’d also like to know where the screenshot is saved and how I can quickly edit or share it afterward.