Flatness is a property of a plane, while the straightness is about a straight line that only has length. Flatness should always be on a flat surface, while straightness is usually put on surfaces that are not flat, it specifies how much the surface or axis is allowed to vary from the perfect straight line