My Canon (430EX III-RT) flash came with a neutral plastic diffuser and an orange plastic filter. Now, I understand the purpose of the neutral diffuser: it's (obviously) to diffuse the flash, without causing any color effects.
But I don't entirely understand the purpose of the orange plastic filter. It's transparent so it's not a diffuser. Apparently, it changes the color of the flash. But why would one want to do that? Is it for shooting in an environment where the lighting is based on incandescent light bulbs or CFLs / LEDs that emulate the color temperature (2700 K) of incandescent light bulbs?