To “spill the beans” means

To “spill the beans” means
A: To reveal secret information
B: To misbehave
C: To keep secrets
D: To talk irrelevant

Spill the beans involves disclosing confidential details unintentionally. Misbehave is conduct keep secrets opposite talk irrelevant off-topic. Originating from voting the idiom enriches stories with elements of surprise or betrayal in plots.