A map between geodesic metric spaces is called affine if it sends all linearly parametrized geodesics to linearly parametrized geodesics. In the talk I am going to discuss structural results about affine functions and affine maps and provide some applications.