Hi,
For your situation, only the dryer comes in gas or electric versions washers are always electric, so there’s no such thing as a gas washer.
Since your home already has a gas line, choosing a gas dryer can be a practical option. Gas dryers typically heat up faster and can be more efficient over time, especially if gas rates are lower than electricity in your area. You’ll just want to make sure your laundry space has a proper gas hookup and ventilation in place.
If those connections are already available, pairing your washer with a gas dryer is compatible and can be a convenient setup.
Gas vs. Electric Dryers – Buying Guide
https://www.samsung.com/us/home-appliances/buying-guide/gas-vs-electric-dryers/
Samsung values your business.
Rachel
Samsung Care