Can someone explain to me the benefits of IO? (functional programming)