What is different between constraints layout and relative layout?

What is different between constraints layout and relative layout?

You can see this answer