Results of competitive matches affect your level. Friendly matches don't, so they're better for social play.
A competitive open match counts toward your rating: scores are recorded and your level adjusts based on the result. A friendly open match does not affect your rating — use it when you want to play without pressure or try a new partner. Competitive matches are matched within a tighter rating range than friendly matches.