The function is a nonlinear activation function that maps real numbers to a value between -1 and 1. It has a S shaped curve outside of the interval -2 to 2, where it flattens out and produces a constant output.

