How the Scene Widget is working?

Hi everyone, I start saying that I’m new on this matter, but I can’t understand how the scene widget can be programmed. The Idea is to create a button capable to execute a serious of commands (not only one) for example switching on a Lifx bulb and switching on a Philips bulb too with the same button.
Is it possible? If yes, can someone be so patient to explain me how, please? tks in advance