Pigs and boars are in the same animal family and they look alike as well.
Hayato さんの英文の Boars are animals that are related and similar to pigs. のように related to と similar to をつなげて言っても良いですよ。
他にも次のように言うこともできます。
ーPigs and boars are in the same animal family and they look alike as well.
「豚とイノシシは同じ動物の科で、見た目も似ている」
the same animal family で「同じ動物分類の科」
to look alike で「よく似ている・そっくりである」
ご参考まで!