Why did Macbeth and Banquo meet the witches

In Act I Scene III of Macbeth why do Macbeth and Banquo Meet the three witches? Like, do they just stumble upon them? I kind of need this for homework, but it's mostly just something I'm wondering.