Coulld someone explain the advantages of online check in?

Does your resort room have to be paid for in advance or can you settle up upon arrival?

How far in advance do you check in?