Dogs mate and then go their separate ways.
People do that, too.
Neither is anything at all like the decades-long commitment of a good marriage. While it may seem like sex is the main feature (and it is important), as someone who maintained a relationship for twenty years (she passed away five years ago) I can assure you that it's far from the only factor involved.