Which sentence best describes a referendum?

AA political party holds a primary to choose a candidate for legislative elections.

BCitizens vote directly on a proposed law in their city or state.

CThe state house of representatives holds a hearing to appoint a new Speaker.

DThe state's citizens votes to remove their governor from office.

EThe state conducts a voluntary census so it can change legislative districts.