What is the difference between type 1 and type 2 diabetes?

OR… What link exists between type 2 diabetes and lifestyle?