Is cannabis legal or illegal?

In the UK Cannabis is illegal, and is a class B drug. For possession, carries a penalty of 5 years in prison or an unlimited fine or both.
For dealing, carries a penalty of 14 years in prison, or an unlimited fine or both.