What's the difference between protected content and Membership Plugin

What's the difference between protected content and Membership Plugin?

When to use which one?

Thanks