How did the british gain french territory in north America?

Through the French and Indian War, when the French were defeated they lost all of their colonial territory in North America. The french had lost all of their land, and also the natives.