Shias believe that Mohammed explicitly appointed Ali to be his successor. (Ali is Ali ibn Abi Talib).
Sunnis in contrast believe that there was no appointed successor and that Abu Bakr was to be accepted as the first caliph (but that Ali also had authority).