God told the prophet Hosea to do some strange and unconventional things. First, he was told to marry a prostitute. Next, their children were given bizarre symbolic names. Finally, after Hosea’s wife left him to return to her former life, he was told to go find her and take her back.
All of these events were to be used by Hosea as object lessons for the nation of Israel. Specifically, his marriage to an undeserving and unfaithful wife point to God’s unconditional love to an undeserving and unfaithful people – both then and now.
Hosea is sometimes called a minor prophet. This doesn’t mean he wasn’t important, but merely that the book named after him is shorter. (Compare this to the major prophets, whose books are much longer.)