A speaker or writer uses we to refer both to himself or herself and to one or more other people as a group. You can use we before a noun to make it clear which group of people you are referring to.
A speaker or writer may use we instead of 'I' in order to include the audience or reader in what they are saying, especially when discussing how a talk or book is organized.