Trigonometry is a branch of mathematics that studies relationships involving lengths and angles of triangles. It emerged from applications of geometry to astronomy in the 3rd century BC. Trigonometric functions relate ratios of sides of right triangles to angles and allow for determination of all angles and sides from just one angle and one side. Trigonometry is used in many fields including astronomy, navigation, music, acoustics, optics, engineering, and more due to applications of triangulation and modeling periodic functions.