What is the difference between element and shape?

elements vs shape - what are the differences?

I tried looking for documentation on this but could not find any answer.

I am also looking for when to use create element and create shape.

There exists shapes and connections on the diagram. Element is the generic term for either one.