We refer to ultraviolet and infrared as light because even though humans can't see them (some animals can) they both have properties that make them forms of light.
Light is a portion of the entire electromagnetic spectrum, but it also is a bit different from the rest of the electromagnetic spectrum.
Light has special properties which make it different from the rest of the electro-magnetic spectrum. Light behaves as both particles and waves, but electro-magnetic radiation behaves only as waves.
Also, while there are animals that can see into the ultraviolet and infrared range, none have been shown to see anything beyond ultraviolet and infrared. That's probably because they aren't light, they're just electromagnetic radiation.
Light is a portion of the entire electromagnetic spectrum, but it also is a bit different from the rest of the electromagnetic spectrum.
Light has special properties which make it different from the rest of the electro-magnetic spectrum. Light behaves as both particles and waves, but electro-magnetic radiation behaves only as waves.
Also, while there are animals that can see into the ultraviolet and infrared range, none have been shown to see anything beyond ultraviolet and infrared. That's probably because they aren't light, they're just electromagnetic radiation.