Equations in simple matrix groups: algebra, geometry, arithmetic, dynamics