Is Forum part of Communities? Which is better?

Communities vs Forum? Which one should i use that would integrate with Membership?

Thanks