Complex sentence: In the season two episode "Gun Shy", Bret met up with characters very similar to those on "Gunsmoke", while in season five, Bart dealt with characters who closely resembled those from "Bonanza".
Split into simpler sentences: In the season two episode, "Gun Shy", Bret met up with characters very similar to those appearing on "Gunsmoke". Meanwhile, in season five, Bart met up with characters that closely resembled those from "Bonanza".