system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: how is light made

My 4 year old asked about the sun and light bulbs. Describing the mechanisms (hydrogen or electricity) and why they, as opposed to other chemicals, make brightness totally threw me for a loop.
gpt
All objects emit electromagnetic radiation according to their temperature. The higher the temperature, the shorter the wavelength of that radiation. Warm human bodies emit infrared radiation, which is longer waves than visible light. A hot iron emits red visible light. The lightbulb wire and the Sun emit yellow-white light.