These two terms get used interchangeably, but they mean very different things.
A visa is generally permission to travel to the U.S.
A visa is typically a document allowing you to travel to a port of entry and request admission for a specific purpose. It doesn't guarantee entry.
A green card generally means lawful permanent residence
A green card shows you've been granted lawful permanent resident status, allowing you to generally live and work in the U.S. indefinitely, and can eventually lead to citizenship.
Nonimmigrant vs. immigrant intent
Most visas are nonimmigrant, for a temporary purpose. A green card reflects immigrant status, a more permanent relationship with the U.S.
How people move from one to the other
Many green card holders started on a nonimmigrant visa and later adjusted status, often through a family or employment sponsor.
Next step
An immigration attorney can map out realistic options for moving from temporary to permanent status.