It was because the Patriots had Skilled Military leaders (i.e : George Washington)
Back than, the British Army had a far more numbers than the patriot ( 8 million : 2.5 million) , More advanced technology, and a better war supplies. The patriots held an advantage over the war because of their brilliant military tacticians