Light appears to travel in a straight line because diffraction (or deviation from the path) is least in light. Diffraction is least because -of small wavelength of light. So small wave length of light causes the light to travel almost in straight line.