Why were ostracons made and cast?

A=to elect citizens as representatives
B=to vote on laws in the citizens assembly
C=to select citizens for military service
D=to banish citizens thought to be dangerous