The main purpose of brainstorming is to come up with lots of ideas quickly for a piece of writing, task, project, etc.