I'm looking for the name and some examples of functions $f$ with the following property
$$f\circ f=I$$
where $I$ is the identity. This means that $f=f^{-1}$; some examples are the functions $f(n)=-n$ and $g(n)=1/n$. What are other examples of functions that have this property and what is so special about them?