lamps can be used to generate light