Trigonometry is a branch of mathematics that studies relationships involving lengths and angles of triangles. It emerged from applications of geometry to astronomy in ancient Greece. The word trigonometry comes from Greek words meaning "three", "sides", and "measure". Trigonometry defines ratios between the sides and angles of right triangles, and establishes trigonometric identities that are true for all angle values. These identities relate trigonometric functions of complementary angles and derive important equations like the Pythagorean identity.