What do each of these code blocks do?

which code goes with which ring?

3

how many cylinders are drawn?

2

explain what is happening here

1