Tan Function and Its Properties