I am working with SageMath on graphs, in particular on this graph:
I have found that its automorphism group is generated by the elements $(1,3,5)$ and $(2,4,6)$: how do I find to which group is this group isomorphic to? I ask both computationally and mathematically.

Since they are disjoint three-cycles, they commute and have order three; there are no other restrictions on the group; so the group is isomorphic to the group given by the presentation
$$\langle a,b\mid a^3, b^3, ab=ba\rangle,$$
which is $\Bbb Z_3\times\Bbb Z_3$.
Computationally, you could use GAP.
If the automorphism group is, instead, generated by $(135)(246)$, then it is cyclic and the order of the group is that of the generating element, which is three; hence it is isomorphic to $\Bbb Z_3$.