Another way to say "a lamp is used to provide light" is "a lamp produces light"