Spotting vs AF

Please could someone explain to me the difference between spotting and AF?