Any device used to modify any characteristic of an optical signal (lightwave) for the purpose of conveying information.