Types transistors and how they work

Discuss types transistors and how they work while giving an example in each.