What does it mean that Mary had been betrothed to Joseph (Matthew 1:18)?

This article has been translated into the following languages: