What is the use of AltGr key in UK computer keyboards? I only found that they are used to print € character. What are its other use? Why UK keyboards have Alt and AltGr keys instead of two Alt keys?

Thanks.