That sounds like Reader Rabbit First Grade.
The Reader Rabbit series ran for years across multiple grade levels, and the entries from that era share the structure you describe: you play an animal character in a town, work through a set of tasks in different locations, and the whole thing builds towards a culminating event. An antagonist trying to sabotage the show is a recurring thread in those games.
If it turns out not to be that one, the other likely candidates are the ClueFinders titles and the earlier JumpStart games, which used very similar framing. Any of those is worth searching on archive sites, since most are now classed as abandonware.