Trigonometry is the branch of mathematics that deals with relationships between sides and angles of triangles, especially right triangles. It has its origins in ancient civilizations over 4000 years ago and was originally used to calculate sundials. Key concepts in trigonometry include the six trigonometric functions (sine, cosine, tangent, cosecant, secant, and cotangent) that relate ratios of sides and angles in triangles. Trigonometric functions have many applications in fields like astronomy, navigation, engineering, and more.