I've seen relay card projects in catalogs. Never got one. They look more expensive than they need to be.
But sometimes you need one. The card has components which make it possible, or make it safe, to drive relay coils when the source is weak or delicate.
Your computer port, etc., may be unable to provide the voltage (or current, or both) to energize a relay coil. Or there is risk of overloading components inside the computer.
To be safe you use a relay card.
It consists of middleman components that require only a small signal. Often all that's required is one trasistor or mosfet to drive the relay.
The middleman component draws from an external power supply to drive the relay coils. You have to provide the external power supply.
A relay card can have several such units. Useful for things like operating household lights, appliances, robotics, etc.