CSOM Retrieve Term Groups

You can use the following code to retrieve term groups within the given web

CODE