How does EOS work?