Following the French and Indian/Seven Years' War, Britain gained control of Canada from the French. It remained a British colony until it became independent, but still retains certain ties to the UK, including keeping the monarch as head of state.
Canada's ties to France are mostly through the French-Canadian population in provinces like Quebec and the maritimes. Most Quebecois consider the French to be their "cousins" in a way.