Trigonometry is a branch of mathematics that studies relationships involving lengths and angles of triangles.