Difference between constrained and confined

The difference between confine and constrain.

confine:

To restrict; to keep within bounds; to shut or keep in a limited space or area.

constrain:

To force physically, by strong persuasion; to compel; to oblige.

And as a noun confine means limit.(confine and constrain)