When multiple families are staying together in the same home for Shabbat, there is a question about how they go about fulfilling the mitzvah (commandment) of Hadlakat Nerot Shabbat (lighting candles). There is a difference between Ashkenazim and Sephardim. The Ashkenazim follow the opinion of the Rema, who says that multiple families can light in the same room, one after the other or even together, and it satisfies the requirement of Hadlakat Nerot, so they can make a Beracha (blessing). Because they say that any additional light you add in the room where they are lighting candles is acceptable for the requirement of Hadlakat Nerot, and they can make a Beracha.
However, we Sephardim follow the opinion of Shulchan Aruch. Shulchan Aruch rules that additional light does not satisfy the requirement. Therefore, only one woman, from one of the families, has the right to light in the dining room, and the other families should light in a different room in the house, preferably in their bedroom. That way, they can make a Beracha. If they are not comfortable lighting candles in the bedroom because they are nervous about a candle falling or something happening, then they can light it with electricity. They can make the Beracha and turn on the light in a closet, or even in the bathroom, to make sure they have light that is usable for Shabbat. But if multiple families light in the same room and all make a Beracha, that would constitute a Beracha levatala (blessing in vain), and one should not do that.
If a person is a single guest in somebody else's home and has a designated place to stay—a room that was meyuchad (designated) for them for sheina (sleep)—then they, too, should follow that recommendation and light in their individual bedroom. If they don't, and just happen to be a random guest bunking up, then they can do what's called giving money to the host, or having the host acquire for them a portion of the oil they are lighting for Hadlakat Nerot Shabbat, similar to what we do on Hanukkah. They can light the Shabbat candles on their behalf. But as long as they have their own bedroom, they're required on their own to be able to light with the Beracha for themselves.